Merge pull request #283 from sgmap/fix_282
[Fix #282] use disable_with to avoid sending same message twice
This commit is contained in:
commit
325d250540
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@
|
||||||
%h4.text-primary{ style: 'margin-top: 0px;' } Ajouter un fichier
|
%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;'
|
= file_field_tag "piece_justificative[content]", accept: PieceJustificative.accept_format, style: 'float: left; margin-left: 20px;'
|
||||||
.col-md-6.text-right
|
.col-md-6.text-right
|
||||||
%input#save-message.form-control.btn.btn-danger{ type: 'submit', value: 'ENVOYER' }
|
= submit_tag 'Envoyer', id: 'save-message', class: 'form-control btn btn-danger', data: { disable_with: 'Envoi...' }
|
||||||
|
|
Loading…
Reference in a new issue