From 62af5cc723101e06ae20663fa1241430e48edf1e Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Tue, 22 Dec 2020 15:50:27 +0100 Subject: [PATCH] [SCI-5287] Show step collapse/expand on task --- app/views/protocols/_steps.html.erb | 40 ++++++++++++++--------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/app/views/protocols/_steps.html.erb b/app/views/protocols/_steps.html.erb index eed7b5af5..5337ab948 100644 --- a/app/views/protocols/_steps.html.erb +++ b/app/views/protocols/_steps.html.erb @@ -1,28 +1,26 @@ +
+ +
<% if can_manage_protocol_in_module?(@protocol) || can_manage_protocol_in_repository?(@protocol) %>
- - <% unless @my_module %> - - <% end %> <% end %>
<% @protocol.steps.order(:position).each do |step| %>