Explain to administrateur why the attestation cannot be deactivated
This commit is contained in:
parent
6a9b024a6f
commit
a5b29dde97
1 changed files with 6 additions and 0 deletions
|
@ -66,6 +66,12 @@
|
||||||
= f.label :footer, 'Pied de page'
|
= f.label :footer, 'Pied de page'
|
||||||
= f.text_field :footer, class: 'form-control', maxlength: 190
|
= f.text_field :footer, class: 'form-control', maxlength: 190
|
||||||
|
|
||||||
|
- if @attestation_template.activated && @procedure.locked?
|
||||||
|
.row
|
||||||
|
.col-md-12
|
||||||
|
.pull-right
|
||||||
|
%p.help-block L’attestation ne peut plus être désactivée car la démarche a déjà été publiée.
|
||||||
|
|
||||||
%button.btn.btn-primary{ formaction: admin_procedure_attestation_template_preview_path, formtarget: '_blank' } Prévisualiser
|
%button.btn.btn-primary{ formaction: admin_procedure_attestation_template_preview_path, formtarget: '_blank' } Prévisualiser
|
||||||
|
|
||||||
.pull-right
|
.pull-right
|
||||||
|
|
Loading…
Reference in a new issue