Add identite infos for individual
This commit is contained in:
parent
373447a19f
commit
7bb75c3f56
2 changed files with 17 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
||||||
|
%table.table
|
||||||
|
%tbody
|
||||||
|
%tr
|
||||||
|
%th Civilité :
|
||||||
|
%td= individual.gender
|
||||||
|
%tr
|
||||||
|
%th Prénom :
|
||||||
|
%td= individual.prenom
|
||||||
|
%tr
|
||||||
|
%th Nom :
|
||||||
|
%td= individual.nom
|
||||||
|
%tr
|
||||||
|
%th Date de naissance :
|
||||||
|
%td= individual.birthdate
|
|
@ -4,6 +4,9 @@
|
||||||
- if @dossier.entreprise.present?
|
- if @dossier.entreprise.present?
|
||||||
= render partial: "identite_entreprise", locals: { entreprise: @dossier.entreprise }
|
= render partial: "identite_entreprise", locals: { entreprise: @dossier.entreprise }
|
||||||
|
|
||||||
|
- if @dossier.individual.present?
|
||||||
|
= render partial: "identite_individual", locals: { individual: @dossier.individual }
|
||||||
|
|
||||||
.card.featured
|
.card.featured
|
||||||
.card-title Construction du dossier
|
.card-title Construction du dossier
|
||||||
- if @dossier.champs.present? && @dossier.champs.any?
|
- if @dossier.champs.present? && @dossier.champs.any?
|
||||||
|
|
Loading…
Reference in a new issue