<% provide(:head_title, t("projects.show.head_title", project: h(@project.name)).html_safe) %> <% provide(:sidebar_title, t("sidebar.experiments.sidebar_title")) %> <% provide(:sidebar_url, project_sidebar_path(@project)) %> <%= content_for :sidebar do %> <%= render partial: 'shared/sidebar/experiments.html.erb', locals: { project: @project } %> <% end %> <%= render partial: "shared/secondary_navigation" %>
<% if can_create_experiments?(@project) %> <%= link_to new_project_experiment_url(@project), remote: true, type: "button", id: 'new-experiment', class: 'btn btn-primary pull-right' do %> <% end %> <% end %>
<% @project.sorted_active_experiments(@current_sort).each_with_index do |experiment, index| %> <%= render partial: 'projects/show/experiment', locals: { experiment: experiment } %> <% end %> <% if can_create_experiments?(@project) %> <%= render 'projects/show/new_experiment' %> <% end %>
<%= javascript_include_tag("experiments/dropdown_actions") %> <%= javascript_include_tag("projects/show") %>