app/views/admin/schools/meter_attributes/_deleted_attributes_table.html.erb
<% if meter.meter_attributes.deleted.any? %>
<thead class="thead-light">
<tr scope="row">
<th>
<%= link_to school_meter_path(meter.school, meter) do %>
<%= fa_icon(fuel_type_icon(meter.meter_type)) %> <%= meter.mpan_mprn %> <%= "(#{meter.name})" unless meter.name.blank? %>
<% end %>
</th>
<th></th>
</tr>
</thead>
<tbody>
<% meter.meter_attributes.deleted.each do |meter_attribute| %>
<%= render 'shared/meter_attributes/print_meter_attribute', meter_attribute: meter_attribute do %>
<div class="btn-group">
<%= link_to 'History', admin_school_meter_attribute_path(school, meter_attribute), class: 'btn btn-sm' if can?(:show, meter_attribute) %>
</div>
<% end %>
<% end %>
</tbody>
<% end %>