[fix #504] Dossier: draft -> brouillon

This commit is contained in:
Simon Lehericey 2017-12-04 16:17:15 +01:00 committed by LeSim
parent 56545933a9
commit 72bae2c374
34 changed files with 93 additions and 89 deletions

View file

@ -39,7 +39,7 @@
- if !@dossier.can_be_en_construction?
.alert.alert-danger
= t('errors.messages.procedure_archived')
- elsif !@dossier.draft?
- elsif !@dossier.brouillon?
= render partial: '/layouts/modifications_terminees'
- else
= submit_tag 'Soumettre mon dossier', id: 'suivant', name: 'submit[nouveaux]', class: 'btn btn btn-success', style: 'float: right;', disabled: @procedure.archivee?, data: { disable_with: 'Soumettre votre dossier', submit: true }