Add disable_with on comment creation
This commit is contained in:
parent
3fa300d1b6
commit
3cbfd2709f
1 changed files with 1 additions and 1 deletions
|
@ -18,4 +18,4 @@
|
|||
= form_for(Commentaire.new, url: commentaire_dossier_path(@dossier.procedure, @dossier), html: { class: 'form' }) do |f|
|
||||
= f.text_area :body, rows: 5, placeholder: 'Répondre ici', required: true
|
||||
.send-wrapper
|
||||
= f.submit 'Envoyer', class: 'button send'
|
||||
= f.submit 'Envoyer', class: 'button send', data: { disable_with: "Envoi..." }
|
||||
|
|
Loading…
Reference in a new issue