2017-07-19 16:53:31 +02:00
|
|
|
= render partial: "header", locals: { dossier: @dossier }
|
|
|
|
|
2017-09-27 12:08:47 +02:00
|
|
|
#dossier-annotations-privees.container
|
2017-08-02 15:33:23 +02:00
|
|
|
- if @dossier.ordered_champs_private.present?
|
|
|
|
%section
|
|
|
|
%h1.private-annotations Annotations privées
|
|
|
|
.card.featured
|
|
|
|
= form_for @dossier, url: annotations_dossier_path(@dossier.procedure, @dossier), html: { class: 'form' } do |f|
|
|
|
|
= f.fields_for :champs_private, f.object.ordered_champs_private do |champ_form|
|
|
|
|
- champ = champ_form.object
|
|
|
|
= render partial: "new_gestionnaire/dossiers/champs/#{champ.type_champ}",
|
|
|
|
locals: { champ: champ, form: champ_form }
|
|
|
|
|
|
|
|
.send-wrapper
|
2017-09-27 16:33:55 +02:00
|
|
|
= f.submit 'Sauvegarder', class: 'button send', data: { disable_with: "Envoi..." }
|
2017-09-26 14:38:16 +02:00
|
|
|
|
|
|
|
- else
|
|
|
|
%h2.empty-text Aucune annotation privée
|