Submit social housing lettings and sales data (CORE)
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.
 
 
 
 

29 lines
1.0 KiB

<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">
<%= govuk_link_to log.id, case_log_path(log) %>
</th>
<td class="govuk-table__cell govuk-table__cell">
<%= log.property_postcode %>
</td>
<td class="govuk-table__cell govuk-table__cell">
<%= log.tenant_code %>
</td>
<td id="last-changed" class="govuk-table__cell">
<%= log.updated_at.strftime("%d %b %Y") %>
</td>
</tr>
<% end %>
</tbody>
</table>