You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
991 B
28 lines
991 B
3 years ago
|
<table class="govuk-table">
|
||
|
<caption class="govuk-table__caption govuk-table__caption--m"><%= title %></caption>
|
||
|
<thead class="govuk-table__head">
|
||
|
<tr class="govuk-table__row">
|
||
|
<th scope="col" class="govuk-table__header">Log reference</th>
|
||
|
<th scope="col" class="govuk-table__header">Postcode</th>
|
||
|
<th scope="col" class="govuk-table__header">Tenant code</th>
|
||
|
<th scope="col" class="govuk-table__header"><%= date_title %></th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody class="govuk-table__body">
|
||
|
<% case_logs.map do |log| %>
|
||
|
<tr class="govuk-table__row">
|
||
|
<th scope="row" class="govuk-table__header">
|
||
|
<%= link_to log.id, case_log_path(log) %>
|
||
|
</th>
|
||
|
<td class="govuk-table__cell govuk-table__cell">
|
||
|
</td>
|
||
|
<td class="govuk-table__cell govuk-table__cell">
|
||
|
</td>
|
||
|
<td id="last-changed" class="govuk-table__cell">
|
||
|
<%= log.updated_at.strftime("%d %b %Y") %>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
|
</table>
|