% provide(:head_title, t("my_modules.protocols.head_title", project: h(@project.name), module: h(@my_module.name)).html_safe) %>
<%= render partial: 'shared/drag_n_drop_overlay' %>
<%= render partial: "shared/sidebar", locals: { current_task: @my_module, page: 'task' } %>
<%= render partial: "shared/secondary_navigation" %>
<%= t('Protocol') %>
<%= render partial: "my_modules/protocols/protocol_status_bar.html.erb" %>
<%= render partial: "my_modules/protocols/protocol_buttons.html.erb" %>
<% if can_manage_module?(@my_module) %>
<%= render partial: "my_modules/protocols/protocol_description_form", locals:
{
protocol: @my_module.protocol,
update_url: update_protocol_description_my_module_path(@my_module, format: :json)
}
%>
<% elsif @my_module.protocol.description.present? %>
<%= custom_auto_link(@my_module.protocol.tinymce_render(:description),
simple_format: false,
tags: %w(img),
team: current_team) %>
<% else %>
<%= t('my_modules.protocols.protocol_status_bar.no_description') %>
<% end %>
<%= render partial: "protocols/steps.html.erb" %>