added some space after the optionnal justificatif button

This commit is contained in:
clemkeirua 2019-04-29 11:03:40 +02:00
parent 0e26bda186
commit 67a3d435d0
2 changed files with 5 additions and 1 deletions

View file

@ -43,4 +43,8 @@
padding-left: $default-spacer * 1.5;
}
}
.optional-justificatif {
margin-bottom: 16px;
}
}

View file

@ -28,7 +28,7 @@
%li= unspecified_annotations_privee.libelle
- else
= text_area :dossier, :motivation, class: 'motivation-text-area', placeholder: placeholder, required: true
%span{ id: "justificatif_motivation_suggest_#{popup_class}", onclick: "DS.showImportJustificatif('#{popup_class}');" }
%div.optional-justificatif{ id: "justificatif_motivation_suggest_#{popup_class}", onclick: "DS.showImportJustificatif('#{popup_class}');" }
.button Ajouter un justificatif (optionnel)
.hidden{ id: "justificatif_motivation_import_#{popup_class}" }
= file_field :dossier, :justificatif_motivation, direct_upload: true