Add identite infos for individual

This commit is contained in:
Mathieu Magnin 2017-07-11 15:55:08 +02:00
parent 373447a19f
commit 7bb75c3f56
2 changed files with 17 additions and 0 deletions

View file

@ -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

View file

@ -4,6 +4,9 @@
- if @dossier.entreprise.present?
= render partial: "identite_entreprise", locals: { entreprise: @dossier.entreprise }
- if @dossier.individual.present?
= render partial: "identite_individual", locals: { individual: @dossier.individual }
.card.featured
.card-title Construction du dossier
- if @dossier.champs.present? && @dossier.champs.any?