Annotations privées look odd in a card
This commit is contained in:
parent
95ad67a9ad
commit
2def3ecd20
1 changed files with 7 additions and 8 deletions
|
@ -5,15 +5,14 @@
|
||||||
#dossier-annotations-privees.container
|
#dossier-annotations-privees.container
|
||||||
- if @dossier.ordered_champs_private.present?
|
- if @dossier.ordered_champs_private.present?
|
||||||
%section
|
%section
|
||||||
.card
|
= form_for @dossier, url: annotations_dossier_path(@dossier.procedure, @dossier), html: { class: 'form' } do |f|
|
||||||
= 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|
|
||||||
= f.fields_for :champs_private, f.object.ordered_champs_private do |champ_form|
|
- champ = champ_form.object
|
||||||
- champ = champ_form.object
|
= render partial: "new_gestionnaire/dossiers/champs/champ",
|
||||||
= render partial: "new_gestionnaire/dossiers/champs/champ",
|
locals: { champ: champ, form: champ_form, seen_at: @annotations_privees_seen_at }
|
||||||
locals: { champ: champ, form: champ_form, seen_at: @annotations_privees_seen_at }
|
|
||||||
|
|
||||||
.send-wrapper
|
.send-wrapper
|
||||||
= f.submit 'Sauvegarder', class: 'button send', data: { disable_with: "Envoi..." }
|
= f.submit 'Sauvegarder', class: 'button send', data: { disable_with: "Envoi..." }
|
||||||
|
|
||||||
- else
|
- else
|
||||||
%h2.empty-text Aucune annotation privée
|
%h2.empty-text Aucune annotation privée
|
||||||
|
|
Loading…
Add table
Reference in a new issue