From ea845040aa42093a385b002ebd361e31e6d79112 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Mon, 7 Sep 2020 13:49:11 +0200 Subject: [PATCH] Fix missing step edit button [SCI-4880] --- app/views/steps/_step.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/steps/_step.html.erb b/app/views/steps/_step.html.erb index 0f3912868..da82f786f 100644 --- a/app/views/steps/_step.html.erb +++ b/app/views/steps/_step.html.erb @@ -66,6 +66,13 @@ data: { action: 'move-step', direction: :down }) do %> <% end %> + <%= link_to(edit_step_path(step), + title: t('protocols.steps.options.edit_title'), + class: 'btn btn-light icon-btn', + remote: true, + data: { action: 'edit-step' }) do %> + + <% end %> <%= link_to(step_path(step), title: t('protocols.steps.options.delete_title'), method: :delete,