Disable transition from publiée to brouillon

This commit is contained in:
Paul Chavard 2019-11-28 10:33:39 +01:00
parent 3e334a3306
commit c1c8ab7ac6
3 changed files with 0 additions and 22 deletions

View file

@ -39,10 +39,6 @@ as well as a link to its edit page.
<%= link_to 'whitelister', whitelist_manager_procedure_path(procedure), method: :post, class: 'button' %>
<% end %>
<% if procedure.publiee? && procedure.dossiers.empty? %>
<%= link_to 'repasser en test', draft_manager_procedure_path(procedure), method: :post, class: 'button' %>
<% end %>
<% if !procedure.hidden? %>
<%= link_to 'supprimer la démarche', hide_manager_procedure_path(procedure), method: :post, class: 'button', data: { confirm: "Confirmez-vous la suppression de la démarche ?" } %>
<% end %>