dossier: make clear when files are being uploaded

This commit is contained in:
Pierre de La Morinerie 2019-02-13 15:24:09 +00:00
parent e1a2a8c0d1
commit d1f514c7b0

View file

@ -75,18 +75,18 @@
name: :save_draft,
value: true,
class: 'button send secondary',
data: { disable: true }
data: { 'disable-with': "Envoi en cours…" }
- if dossier.can_transition_to_en_construction?
= f.button 'Soumettre le dossier',
class: 'button send primary',
disabled: !current_user.owns?(dossier),
data: { disable: true }
data: { 'disable-with': "Envoi en cours…" }
- else
= f.button 'Enregistrer les modifications du dossier',
class: 'button send primary',
data: { disable: true }
data: { 'disable-with': "Envoi en cours…" }
- if dossier.brouillon? && !current_user.owns?(dossier)
.send-notice.invite-cannot-submit