Display ContactNetwork#contacts
This commit is contained in:
parent
532761f0d8
commit
e7d666ee5f
3 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,9 @@
|
|||
<th scope="col">
|
||||
<%= ContactNetwork.human_attribute_name :name %>
|
||||
</th>
|
||||
<th scope="col">
|
||||
<%= ContactNetwork.human_attribute_name :contacts %>
|
||||
</th>
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -22,6 +25,7 @@
|
|||
<tr>
|
||||
<td scope="row"><%= contact_network.codename %></td>
|
||||
<td><%= contact_network.name %></td>
|
||||
<td><%= contact_network.contacts.count %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
|
|
@ -39,6 +39,7 @@ en:
|
|||
contact_network:
|
||||
id: ID
|
||||
codename: Codename
|
||||
contacts: Contacts
|
||||
name: Name
|
||||
federal_subject:
|
||||
id: ID
|
||||
|
|
|
@ -39,6 +39,7 @@ ru:
|
|||
contact_network:
|
||||
id: ID
|
||||
codename: Кодовое имя
|
||||
contacts: Контакты
|
||||
name: Название
|
||||
federal_subject:
|
||||
id: ID
|
||||
|
|
Reference in a new issue