<%= render 'shared/tiny_mce_packs' %> <% if flash["repository_snapshot_error"] %> <%= render 'shared/dialog', id: "snapshot-error", type: "error", shown: true, title: t("my_modules.modals.transition_snapshot_error.title"), body: t( "my_modules.modals.transition_snapshot_error.body_html", repository: Repository.find(flash["repository_snapshot_error"]["repository_id"]).name ) %> <% end %> <% provide(:head_title, t("my_modules.protocols.head_title", project: h(@project.name), module: h(@my_module.name)).html_safe) %> <% content_for :open_mobile_app_button do %> <%= link_to(pwa_mobile_app_url(@current_team.id, @project.id, @experiment.id, @my_module.id, @protocol.id, @protocol.first_step_id, request.host), class: 'btn btn-light-link open-mobile-app-button') do %> <%= t('my_modules.open_mobile_app') %> <% end %> <% end %> <% provide(:container_class, 'no-second-nav-container') %> <%= content_for :sidebar do %> <%= render partial: "shared/sidebar/#{@my_module.archived_branch? ? 'archived_my_module' : 'my_module'}", locals: { my_modules: @experiment_my_modules, experiment: @my_module.experiment, current_my_module: @my_module } %> <% end %> <%= render partial: 'shared/drag_n_drop_overlay' %>
<%= render partial: 'my_modules/header' %>
<%= render partial: 'my_modules/header_actions' %>
<%= render partial: "my_modules/modals/update_repository_records_modal" %> <%= render partial: "my_modules/protocols/print_protocol_modal", locals: { protocol: @protocol, comments_enabled: true} %> <%= render partial: "my_modules/protocols/confirm_link_update_modal" %> <%= render partial: "my_modules/protocols/load_from_repository_modal" %> <%= render partial: "protocols/index/new_protocol_modal", locals: {type: 'copy'} %> <%= render partial: "protocols/import_export/import_elements" %> <% if @my_module.my_module_status_flow %> <%= render partial: 'my_modules/modals/status_flow_modal' %> <% end %> <%= render partial: 'assets/wopi/create_wopi_file_modal' %> <%= render partial: 'assets/asset_delete_modal' %> <%= render partial: 'my_modules/repositories/consume_stock_modal'%> <%= stylesheet_link_tag 'datatables' %> <%= javascript_include_tag "handsontable.full" %> <%= render partial: "shared/formulas_libraries" %> <%= javascript_include_tag("my_modules/protocols") %> <%= javascript_include_tag("my_modules/status_flow") %> <%= javascript_include_tag("my_modules/tags") %> <%= javascript_include_tag 'emoji_button' %> <%= javascript_include_tag("my_modules/repositories") %> <%= javascript_include_tag("my_modules/pwa_mobile_app") %> <%= javascript_include_tag 'pdf_js' %> <%= stylesheet_link_tag 'pdf_js_styles' %> <%= javascript_include_tag "protocols/new_protocol" %> <%= javascript_include_tag 'vue_protocol' %>