117226457-css_changes

This commit is contained in:
Stas 2016-04-18 15:40:29 +03:00
parent a82f096fef
commit 16641ce2c2

View file

@ -6,11 +6,12 @@
%thead %thead
%tr %tr
%th{class: 'col-xs-4'}= t(:type) %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 %tbody
- @data.css('contact').each do |x| - @data.css('contact').each do |x|
- registrant = Contact.find_by_code(x.text) - registrant = Contact.find_by_code(x.text)
%tr %tr
%td= x['type'] %td= x['type']
%td= x.text %td= registrant.name
%td= registrant.name %td= x.text