1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/staffs/contact_networks/index.html.erb
2019-08-18 05:37:27 +05:00

34 lines
886 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>
<td></td>
</tr>
<% end %>
</tbody>
</table>
</div>