<div class="container">
<table class="table">
<thead>
<tr>
<th scope="col">
<%= CountryState.human_attribute_name :name %>
</th>
<%= CountryState.human_attribute_name :english_name %>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<% @country_states.each do |country_state| %>
<td><%= country_state.name %></td>
<td><%= country_state.english_name %></td>
<td>
<% if policy(country_state).show? %>
<%= link_to country_state,
role: :button,
class: 'btn btn-light btn-sm' do %>
<i class="far fa-eye"></i>
<% end %>
</td>
</tbody>
</table>
</div>