<% if can_create_step_in_protocol(@protocol) %> <%= t("protocols.steps.new_step") %> <% end %>

<%= t("protocols.steps.subtitle") %>

<% @protocol.steps.order(:position).each do |step| %> <%= render partial: "steps/step.html.erb", locals: { step: step } %> <% end %>
<% if @protocol.steps.count == 0 %>
<%= t("protocols.steps.no_steps") %>
<% end %> <%= javascript_include_tag "protocols/steps" %>