Display FederalSubject#display_name
This commit is contained in:
parent
50b4652c36
commit
7b2306c0aa
3 changed files with 4 additions and 6 deletions
|
@ -3,10 +3,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th scope="col">
|
||||
<%= FederalSubject.human_attribute_name :english_name %>
|
||||
</th>
|
||||
<th scope="col">
|
||||
<%= FederalSubject.human_attribute_name :native_name %>
|
||||
<%= FederalSubject.human_attribute_name :display_name %>
|
||||
</th>
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
|
@ -15,8 +12,7 @@
|
|||
<tbody>
|
||||
<% @federal_subjects.each do |federal_subject| %>
|
||||
<tr>
|
||||
<td><%= federal_subject.english_name %></td>
|
||||
<td><%= federal_subject.native_name %></td>
|
||||
<td><%= federal_subject.display_name %></td>
|
||||
<td>
|
||||
<% if policy(federal_subject).show? %>
|
||||
<%= link_to federal_subject,
|
||||
|
|
|
@ -36,6 +36,7 @@ en:
|
|||
id: ID
|
||||
english_name: Name
|
||||
native_name: Name
|
||||
display_name: Name
|
||||
passport:
|
||||
id: ID
|
||||
first_name: First name
|
||||
|
|
|
@ -36,6 +36,7 @@ ru:
|
|||
id: ID
|
||||
english_name: Название
|
||||
native_name: Название
|
||||
display_name: Название
|
||||
passport:
|
||||
id: ID
|
||||
first_name: Имя
|
||||
|
|
Reference in a new issue