Manager: add procedure preview link

This commit is contained in:
simon lehericey 2019-02-18 14:42:33 +01:00
parent 83341ad958
commit b152025c5f

View file

@ -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 %>