<% 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", locals: { editable: { name: 'title', active: true, width: 'calc(100% - 580px)', params_group: 'my_module', field_to_udpate: 'name', path_to_update: my_module_path(@my_module) } } %>
<%= render partial: "module_header" %>

<%= t('Protocol') %>

<%= render partial: "my_modules/protocols/protocol_status_bar.html.erb" %>
<%= render partial: "my_modules/protocols/protocol_buttons.html.erb" %> <%= render partial: "my_modules/state_buttons.html.erb" %>
<% if can_manage_module?(@my_module) %> <%= render partial: "my_modules/protocols/protocol_description_form" %> <% elsif @my_module.protocol.description.present? %> <%= sanitize_input(@my_module.protocol.description) %> <% else %> <%= t('my_modules.protocols.protocol_status_bar.no_description') %> <% end %>
<%= render partial: "protocols/steps.html.erb" %>
<%= render partial: "my_modules/modals/manage_description_modal" %> <%= render partial: "my_modules/modals/manage_due_date_modal" %> <%= render partial: "my_modules/protocols/confirm_link_update_modal.html.erb" %> <%= render partial: "my_modules/protocols/load_from_repository_modal.html.erb" %> <%= render partial: "my_modules/protocols/copy_to_repository_modal.html.erb" %> <%= render partial: "protocols/import_export/import_elements.html.erb" %> <%= render partial: 'my_modules/complete_task_modal.html.erb' %> <%= stylesheet_link_tag 'datatables' %> <%= javascript_include_tag("my_modules/protocols") %>