Merge pull request #3457 from betagouv/procedure_preview_link
Manager: add procedure preview link
This commit is contained in:
commit
80c0ff428d
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ as well as a link to its edit page.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
<%= link_to 'aperçu', apercu_procedure_path(procedure), class: 'button' %>
|
||||||
|
|
||||||
<% if !procedure.whitelisted? %>
|
<% if !procedure.whitelisted? %>
|
||||||
<%= link_to 'whitelister', whitelist_manager_procedure_path(procedure), method: :post, class: 'button' %>
|
<%= link_to 'whitelister', whitelist_manager_procedure_path(procedure), method: :post, class: 'button' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue