Ajoute un bouton envoyer une copie à la nouvelle interface administrateurs

This commit is contained in:
kara Diaby 2020-07-29 17:05:19 +02:00
parent eff6f9c09c
commit d73cff2ccb

View file

@ -12,6 +12,11 @@
%span.icon.in-progress
Tester
- if @procedure.publiee? || @procedure.brouillon?
= link_to admin_procedure_publication_path(@procedure), class: 'button' do
%span.icon.reply
Envoyer une copie
- if !@procedure.publiee?
= link_to 'Publier', admin_procedure_publication_path(@procedure), class: 'button primary', id: 'publish-procedure-link', data: { disable_with: "Publication..." }