From 0107c6480928d10c68866fa395d15f0f4e1606d0 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Sun, 17 Jun 2018 19:30:24 +0300 Subject: [PATCH] Reformat --- .../contacts/show/_domains.html.erb | 25 +++++++------------ .../contacts/show/_general.html.erb | 6 +++-- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/app/views/registrant/contacts/show/_domains.html.erb b/app/views/registrant/contacts/show/_domains.html.erb index dbdb7d0fd..7c6a5462f 100644 --- a/app/views/registrant/contacts/show/_domains.html.erb +++ b/app/views/registrant/contacts/show/_domains.html.erb @@ -41,24 +41,17 @@ - <% domains.each do |x| %> - - - <%= link_to(x.name, [:registrant, x]) %> - - - <%= link_to(x.registrar, [:registrant, x.registrar]) %> - - - <%= l(x.valid_to, format: :short) %> - - - <%= x.roles.join(", ") %> - - - <% end %> + <% domains.each do |x| %> + + <%= link_to(x.name, [:registrant, x]) %> + <%= link_to(x.registrar, [:registrant, x.registrar]) %> + <%= l(x.valid_to, format: :short) %> + <%= x.roles.join(", ") %> + + <% end %> + <%= paginate domains, param_name: :domain_page %> \ No newline at end of file diff --git a/app/views/registrant/contacts/show/_general.html.erb b/app/views/registrant/contacts/show/_general.html.erb index 109d6316a..3f12b45c3 100644 --- a/app/views/registrant/contacts/show/_general.html.erb +++ b/app/views/registrant/contacts/show/_general.html.erb @@ -14,8 +14,10 @@
<%= @contact.name %>
<%= Contact.human_attribute_name :auth_info %>
-
<%= text_field_tag :auth_info, @contact.auth_info, readonly: true, - class: 'partially-hidden' %>
+
+ <%= text_field_tag :auth_info, @contact.auth_info, readonly: true, + class: 'partially-hidden' %> +

<%= Contact.human_attribute_name :ident %>