%= 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 %> <%= render partial: 'shared/drag_n_drop_overlay' %>