33 lines
866 B
Text
33 lines
866 B
Text
<div class="container">
|
|
<%= nav_breadcrumb(
|
|
[translate(:staff_services), staff_root_path],
|
|
ContactNetwork.model_name.human(count: 0),
|
|
) %>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">
|
|
<%= ContactNetwork.human_attribute_name :codename %>
|
|
</th>
|
|
<th scope="col">
|
|
<%= ContactNetwork.human_attribute_name :name %>
|
|
</th>
|
|
<th scope="col">
|
|
<%= ContactNetwork.human_attribute_name :contacts %>
|
|
</th>
|
|
<th scope="col"></th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<% @contact_networks.each do |contact_network| %>
|
|
<tr>
|
|
<td scope="row"><%= contact_network.codename %></td>
|
|
<td><%= contact_network.name %></td>
|
|
<td><%= contact_network.contacts.count %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|