% provide(:head_title, t("experiments.table.head_title", experiment: h(@experiment.name)).html_safe) %> <% provide(:sidebar_title, t("sidebar.my_modules.sidebar_title")) %> <% provide(:sidebar_url, sidebar_experiment_path(@experiment)) %> <% provide(:container_class, 'no-second-nav-container') %> <% if params[:view_mode] == "archived" %> <%= content_for :sidebar do %> <%= render partial: 'shared/sidebar/archived_my_modules.html.erb', locals: { experiment: @experiment, my_modules: @archived_modules } %> <% end %> <% else %> <%= content_for :sidebar do %> <%= render partial: 'shared/sidebar/my_modules.html.erb', locals: { experiment: @experiment, my_modules: @active_modules } %> <% end %> <% end %>