Skip to content

Commit

Permalink
study creation date
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Nov 4, 2016
1 parent f7b0feb commit f1dfa61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/studies/index.html.erb
Expand Up @@ -3,12 +3,12 @@
<table class="table table-striped">
<tr>
<th>Studies</th>
<th>Creation Date</th>
</tr>
<% for study in @studies %>
<tr>
<td>
<%= link_to "Study ##{study.id}", study_url(study) %>
</td>
<td><%= link_to "Study ##{study.id}", study_url(study) %></td>
<td><%= distance_of_time_in_words(study.created_at, Time.now) %></td>
</tr>
<% end %>
</table>

0 comments on commit f1dfa61

Please sign in to comment.