diff --git a/app/views/projects/experiment_archive.html.erb b/app/views/projects/experiment_archive.html.erb index 3184ee636..eea2666c9 100644 --- a/app/views/projects/experiment_archive.html.erb +++ b/app/views/projects/experiment_archive.html.erb @@ -5,7 +5,7 @@ <% if @project.archived_experiments.count > 0 %>
<% @project.archived_experiments.each_with_index do |experiment, i| %> -
+
<%= render partial: "projects/experiment_archive/experiment.html.erb", locals: { experiment: experiment} %>
<% if (i+1) % 6 == 0 %> diff --git a/app/views/projects/experiment_archive/_experiment.html.erb b/app/views/projects/experiment_archive/_experiment.html.erb index 32dac5705..67732325c 100644 --- a/app/views/projects/experiment_archive/_experiment.html.erb +++ b/app/views/projects/experiment_archive/_experiment.html.erb @@ -30,10 +30,10 @@
<% end %>
-
+
<%=t "projects.experiment_archive.archived_on" %>
-
+
"> <%=l experiment.archived_on, format: :full_date %> @@ -41,10 +41,10 @@
-
+
<%=t "projects.experiment_archive.created_on" %>
-
+
"> <%=l experiment.created_at, format: :full_date %> @@ -52,10 +52,10 @@
-
+
<%=t "projects.experiment_archive.last_modified_on" %>
-
+
"> <%=l experiment.updated_at, format: :full_date %>