Skip to content

Commit

Permalink
Renders document number in admin table
Browse files Browse the repository at this point in the history
  • Loading branch information
adammulligan authored and agnessa committed Sep 10, 2014
1 parent d450ddd commit 9bc2b96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/admin/documents/_list.html.erb
@@ -1,6 +1,7 @@
<thead>
<th>Type</th>
<th>Date</th>
<th>Number</th>
<% unless @event %>
<th>Event</th>
<% end %>
Expand All @@ -16,6 +17,7 @@
<tr class="<%= if document.is_public? then "current_listing" end %>">
<td><%= document.type %></td>
<td><%= document.date_formatted %></td>
<td><%= document.number %></td>
<% unless @event %>
<td><%= link_to document.event.name, admin_event_documents_path(document.event) if document.event %></td>
<% end %>
Expand Down

0 comments on commit 9bc2b96

Please sign in to comment.