1
0
Fork 0

Display ContactNetwork#contacts

This commit is contained in:
Alex Kotov 2019-08-18 05:27:24 +05:00
parent 532761f0d8
commit e7d666ee5f
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
3 changed files with 6 additions and 0 deletions

View file

@ -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>

View file

@ -39,6 +39,7 @@ en:
contact_network:
id: ID
codename: Codename
contacts: Contacts
name: Name
federal_subject:
id: ID

View file

@ -39,6 +39,7 @@ ru:
contact_network:
id: ID
codename: Кодовое имя
contacts: Контакты
name: Название
federal_subject:
id: ID