From a8e4d46a2eb3b536e939f138a91729c3bb19557b Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Wed, 14 Aug 2019 17:10:11 +0500 Subject: [PATCH] Reorder HTML --- app/views/staffs/people/show.html.erb | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/views/staffs/people/show.html.erb b/app/views/staffs/people/show.html.erb index 883280f..9a2453e 100644 --- a/app/views/staffs/people/show.html.erb +++ b/app/views/staffs/people/show.html.erb @@ -21,6 +21,18 @@
<%= Person.human_attribute_name :account %>
<%= staff_account_link_or_none @person.account %>
+
<%= Person.human_attribute_name :current_regional_office %>
+
+ <% if @person.current_regional_office %> + <%= link_to( + @person.current_regional_office.federal_subject.display_name, + @person.current_regional_office.federal_subject, + ) %> + <% else %> + <%= translate :none %> + <% end %> +
+
<%= Person.human_attribute_name :last_name %>
<%= truncate @person.last_name %>
@@ -38,17 +50,5 @@
<%= Person.human_attribute_name :place_of_birth %>
<%= truncate @person.place_of_birth if @person.place_of_birth %>
- -
<%= Person.human_attribute_name :current_regional_office %>
-
- <% if @person.current_regional_office %> - <%= link_to( - @person.current_regional_office.federal_subject.display_name, - @person.current_regional_office.federal_subject, - ) %> - <% else %> - <%= translate :none %> - <% end %> -