<% provide(:head_title, t("projects.show.head_title", project: h(@project.name)).html_safe) %>

<div class="content-pane flexible projects-show">
  <%= render partial: 'experiments/index/header' %>
  <div id="ExperimentsList" class="fixed-content-body" data-e2e="e2e-CO-experiments">
    <experiments-list
      project-url="<%= project_path(@project) %>"
      actions-url="<%= actions_toolbar_experiments_path %>"
      create-url="<%= project_experiments_path(@project) if can_create_project_experiments?(@project) %>"
      data-source="<%= experiments_path(project_id: @project, format: :json) %>"
      active-page-url="<%= experiments_path(project_id: @project, view_mode: :active) %>"
      archived-page-url="<%= experiments_path(project_id: @project, view_mode: :archived) %>"
      current-view-mode="<%= params[:view_mode] || :active %>"
      :archived="<%= @project.archived?%>"
    />
  </div>
  <%= render 'shared/tiny_mce_packs' %>
  <%= javascript_include_tag 'vue_experiments_list' %>
</div>
