<% provide(:head_title, raw(t("experiments.canvas.head_title", project: @project.name))) %> <%= render partial: "shared/sidebar" %> <%= render partial: "shared/secondary_navigation" %>
<% if can_edit_canvas(@experiment) %> <%=link_to t("experiments.canvas.canvas_edit"), canvas_edit_experiment_url(@experiment), remote: true, type: "button", id: "edit-canvas-button", class: "ajax btn btn-default", "data-action" => "edit" %> <% end %>
<%=link_to canvas_full_zoom_experiment_path(@experiment), remote: true, type: "button", class: "ajax btn btn-primary 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-primary", "data-action" => "medium_zoom" do %> <% end %> <%=link_to canvas_small_zoom_experiment_path(@experiment), remote: true, type: "button", class: "ajax btn btn-primary", "data-action" => "small_zoom" do %> <% end %>
<%= render partial: 'canvas/full_zoom', locals: { experiment: @experiment, my_modules: @experiment.active_modules } %>
<%= render partial: "my_modules/modals/manage_module_tags_modal", locals: { my_module: nil } %> <%= javascript_include_tag("jsPlumb-2.0.4-min") %> <%= javascript_include_tag("jsnetworkx") %> <%= javascript_include_tag("eventPause-min") %> <%= javascript_include_tag("projects/canvas") %> <%= javascript_include_tag("experiments/index") %>