2017-02-01 16:44:31 +01:00
|
|
|
= form_tag(url_for({ controller: 'commentaires', action: :create, dossier_id: dossier_facade.dossier.id, champ_id: dossier_facade.champ_id }), class: 'form-inline', method: 'POST', multipart: true) do
|
|
|
|
|
2017-01-30 15:17:45 +01:00
|
|
|
%textarea.form-control{id: 'texte_commentaire', class: 'wysihtml5', name: 'texte_commentaire', style: 'width: 100%; margin-bottom:2%', rows: '5', placeholder:"Commentaire"}
|
2017-02-01 16:44:31 +01:00
|
|
|
|
|
|
|
.row
|
|
|
|
.col-md-6
|
|
|
|
%h4.text-primary{style: 'margin-top: 0px'} Ajouter un fichier
|
|
|
|
= file_field_tag "piece_justificative[content]", accept: PieceJustificative.accept_format, style: 'float: left; margin-left: 20px'
|
|
|
|
|
2017-02-14 16:20:52 +01:00
|
|
|
.col-md-6.text-right
|
|
|
|
%input#save-message.form-control.btn.btn-danger{ type: 'submit', value: 'ENVOYER' }
|