Add dossier champs (minimalist version)

This commit is contained in:
Mathieu Magnin 2017-07-06 16:51:01 +02:00
parent f9f313e990
commit 47857664eb

View file

@ -3,3 +3,15 @@
.card-title Identité du demandeur
- if @dossier.entreprise.present?
= render partial: "identite_entreprise", locals: { entreprise: @dossier.entreprise }
.card.featured
.card-title Construction du dossier
- if @dossier.champs.present? && @dossier.champs.any?
%table.table
%tbody
- @dossier.champs.each do |c|
%tr
%th
= "#{c.libelle} :"
%td
= c.value