<div class="container">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item active" aria-current="page">
<%= FederalSubject.model_name.human count: 0 %>
</li>
</ol>
</nav>
<table class="table">
<thead>
<tr>
<th scope="col">
<%= FederalSubject.human_attribute_name :number %>
</th>
<%= FederalSubject.human_attribute_name :display_name %>
<%= FederalSubject.human_attribute_name :centre %>
<%= FederalSubject.human_attribute_name :timezone %>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<% @federal_subjects.each do |federal_subject| %>
<td><%= federal_subject.number %></td>
<td><%= federal_subject.display_name %></td>
<td><%= federal_subject.centre %></td>
<td><%= federal_subject.timezone %></td>
<td>
<% if policy(federal_subject).show? %>
<%= link_to federal_subject,
role: :button,
class: 'btn btn-light btn-sm' do %>
<i class="far fa-eye"></i>
<% end %>
</td>
</tbody>
</table>
</div>