.row .col-sm-6 %h2.text-center-xs= t('registrars') .col-sm-6 %h2.text-right.text-center-xs = link_to(t('add'), new_admin_registrar_path, class: 'btn btn-primary') %hr .row .col-md-12 .table-responsive %table.table.table-hover.table-bordered.table-condensed %thead %tr %th{class: 'col-xs-6'} = sort_link(@q, 'name') %th{class: 'col-xs-6'} = sort_link(@q, 'reg_no', t('reg_no')) %tbody - @registrars.each do |x| %tr %td= link_to(x, [:admin, x]) %td= x.reg_no .row .col-md-12 = paginate @registrars