Add disable_with on annotations_privees and avis
This commit is contained in:
parent
77aee1dd35
commit
c049957bbe
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
locals: { champ: champ, form: champ_form }
|
||||
|
||||
.send-wrapper
|
||||
= f.submit 'Sauvegarder', class: 'button send'
|
||||
= f.submit 'Sauvegarder', class: 'button send', data: { disable_with: "Envoi..." }
|
||||
|
||||
- else
|
||||
%h2.empty-text Aucune annotation privée
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
= f.label :confidentiel, 'Cet avis est'
|
||||
= f.select :confidentiel, [['partagé avec les autres experts', false], ['confidentiel', true]]
|
||||
.send-wrapper
|
||||
= f.submit 'Demander un avis', class: 'button send'
|
||||
= f.submit 'Demander un avis', class: 'button send', data: { disable_with: "Envoi..." }
|
||||
|
||||
= render partial: 'new_gestionnaire/avis/avis_list', locals: { avis: @dossier.avis }
|
||||
|
|
Loading…
Reference in a new issue