Merge pull request #3457 from betagouv/procedure_preview_link

Manager: add procedure preview link
This commit is contained in:
Pierre de La Morinerie 2019-02-18 14:57:16 +01:00 committed by GitHub
commit 80c0ff428d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,8 @@ as well as a link to its edit page.
</div>
<div>
<%= link_to 'aperçu', apercu_procedure_path(procedure), class: 'button' %>
<% if !procedure.whitelisted? %>
<%= link_to 'whitelister', whitelist_manager_procedure_path(procedure), method: :post, class: 'button' %>
<% end %>