From 16641ce2c28eaf5dfdfcdbb43483b2851cb1cfd9 Mon Sep 17 00:00:00 2001 From: Stas Date: Mon, 18 Apr 2016 15:40:29 +0300 Subject: [PATCH] 117226457-css_changes --- app/views/registrar/domains/partials/_contacts.haml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/registrar/domains/partials/_contacts.haml b/app/views/registrar/domains/partials/_contacts.haml index 93058923c..b94f99ee2 100644 --- a/app/views/registrar/domains/partials/_contacts.haml +++ b/app/views/registrar/domains/partials/_contacts.haml @@ -6,11 +6,12 @@ %thead %tr %th{class: 'col-xs-4'}= t(:type) - %th{class: 'col-xs-8'}= t(:id) + %th{class: 'col-xs-4'}= t(:name) + %th{class: 'col-xs-4'}= t(:id) %tbody - @data.css('contact').each do |x| - registrant = Contact.find_by_code(x.text) %tr %td= x['type'] - %td= x.text - %td= registrant.name \ No newline at end of file + %td= registrant.name + %td= x.text \ No newline at end of file