From 89ac76a76625985971fb62fec4f7f0978ebcc903 Mon Sep 17 00:00:00 2001 From: aignatov-bio Date: Fri, 26 Feb 2021 12:29:19 +0100 Subject: [PATCH] Fix duplcated new step button [SCI-5474] --- app/views/protocols/_steps.html.erb | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/views/protocols/_steps.html.erb b/app/views/protocols/_steps.html.erb index 5337ab948..da20d5b82 100644 --- a/app/views/protocols/_steps.html.erb +++ b/app/views/protocols/_steps.html.erb @@ -8,20 +8,6 @@ <%= t("protocols.steps.expand_label") %> -<% if can_manage_protocol_in_module?(@protocol) || can_manage_protocol_in_repository?(@protocol) %> -
- -
-<% end %>
<% @protocol.steps.order(:position).each do |step| %> <%= render partial: "steps/step.html.erb", locals: { step: step } %>