mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +08:00
25 lines
870 B
Text
25 lines
870 B
Text
<% provide(:head_title, raw(t("projects.show.head_title", project: @project.name))) %>
|
|
<%= render partial: "shared/sidebar" %>
|
|
<%= render partial: "shared/secondary_navigation" %>
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<h2 class="pull-left"><%= t'projects.show.page_title' %></h2>
|
|
<% if can_create_experiment(@project) %>
|
|
<%= link_to t('experiments.new.create'),
|
|
new_project_experiment_url(@project),
|
|
remote: true,
|
|
type: "button",
|
|
id: 'new-experiment',
|
|
class: "btn btn-primary center-btn" %>
|
|
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
<% @project.active_experiments.each do |experiment| %>
|
|
<%= render partial: 'projects/show/experiment',
|
|
locals: { experiment: experiment } %>
|
|
|
|
<% end %>
|
|
|
|
<%= javascript_include_tag("projects/show") %>
|