<% provide(:head_title, t("experiments.canvas.head_title", project: h(@project.name)).html_safe) %> <%= render partial: "shared/sidebar" %> <%= render partial: "shared/secondary_navigation" %>
<% if can_edit_canvas(@experiment) %> <%=link_to canvas_edit_experiment_url(@experiment), remote: true, type: 'button', id: 'edit-canvas-button', data: { action: 'edit' }, class: 'ajax btn btn-default' do %> <% end %> <% end %> <% if can_edit_experiment(@experiment) || can_archive_experiment(@experiment) %> <%= render partial: 'experiments/dropdown_actions.html.erb', locals: { project: @project, experiment: @experiment } %> <% end %>
<%=link_to canvas_full_zoom_experiment_path(@experiment), remote: true, type: "button", class: "ajax btn btn-default active", "data-action" => "full_zoom", "data-toggle" => "button", "aria-pressed" => true do %> <% end %> <%=link_to canvas_medium_zoom_experiment_path(@experiment), remote: true, type: "button", class: "ajax btn btn-default", "data-action" => "medium_zoom" do %> <% end %> <%=link_to canvas_small_zoom_experiment_path(@experiment), remote: true, type: "button", class: "ajax btn btn-default", "data-action" => "small_zoom" do %> <% end %>
<% if can_create_experiment?(@project) && @experiment.active? %> <%= link_to new_project_experiment_url(@project), remote: true, type: "button", id: 'new-experiment', class: "btn btn-primary pull-right" do %> <%=t 'experiments.new.create' %> <% end %> <% end %>
<%= render partial: 'canvas/full_zoom', locals: { experiment: @experiment, my_modules: @active_modules } %>
<%= render partial: "my_modules/modals/manage_module_tags_modal", locals: { my_module: nil } %> <%= javascript_include_tag("eventPause-min") %> <%= javascript_include_tag("projects/canvas") %> <%= javascript_include_tag("experiments/dropdown_actions") %>