Add button in manager to transition démarche in brouillon state
fix #2565
This commit is contained in:
parent
acacfebd92
commit
bcbfc370b2
4 changed files with 24 additions and 0 deletions
|
@ -36,6 +36,10 @@ as well as a link to its edit page.
|
|||
<% if !procedure.whitelisted? %>
|
||||
<%= link_to 'whitelister', whitelist_manager_procedure_path(procedure), method: :post, class: 'button' %>
|
||||
<% end %>
|
||||
|
||||
<% if procedure.publiee? && procedure.dossiers.empty? %>
|
||||
<%= link_to 'passer en brouillon', draft_manager_procedure_path(procedure), method: :post, class: 'button' %>
|
||||
<% end %>
|
||||
<div>
|
||||
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue