From b152025c5f80459a6d73a95b4b815f8cd2111023 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Mon, 18 Feb 2019 14:42:33 +0100 Subject: [PATCH] Manager: add procedure preview link --- app/views/manager/procedures/show.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/manager/procedures/show.html.erb b/app/views/manager/procedures/show.html.erb index e4a00a4d3..908b0e2bf 100644 --- a/app/views/manager/procedures/show.html.erb +++ b/app/views/manager/procedures/show.html.erb @@ -33,6 +33,8 @@ as well as a link to its edit page.
+ <%= 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 %>