diff --git a/app/views/steps/_step.html.erb b/app/views/steps/_step.html.erb index bd100d137..c3b61140d 100644 --- a/app/views/steps/_step.html.erb +++ b/app/views/steps/_step.html.erb @@ -27,24 +27,25 @@
- <% if step.completed? %> - - <% else %> - + <% unless preview %> + <% if step.completed? %> + + <% else %> + + <% end %> <% end %> - <% if (can_manage_protocol_in_module?(@protocol) || can_manage_protocol_in_repository?(@protocol)) && !(preview) %> <%= link_to(move_up_step_path(step), class: 'btn btn-light icon-btn',