Merge pull request #2882 from aignatov-bio/ai-sci-5072-remove-complete-step-from-protocol-managment

Remove complete step button from protocol managment [SCI-5072]
This commit is contained in:
aignatov-bio 2020-09-29 15:20:48 +02:00 committed by GitHub
commit cfc943c0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@
</a> </a>
</div> </div>
<div class="panel-options pull-right"> <div class="panel-options pull-right">
<% unless preview %> <% if !preview && @protocol.my_module %>
<% if step.completed? %> <% if step.completed? %>
<button data-action="uncomplete-step" <button data-action="uncomplete-step"
data-link-url="<%= toggle_step_state_step_path(step)%>" data-link-url="<%= toggle_step_state_step_path(step)%>"