.row .col-sm-6 %h2.text-center-xs= t('shared.users') .col-sm-6 %h2.text-right.text-center-xs = link_to(t('shared.create_new_user'), new_admin_user_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-2'} = sort_link(@q, 'username') %th{class: 'col-xs-2'} = sort_link(@q, 'email', t('shared.email')) %th{class: 'col-xs-2'} = sort_link(@q, 'identity_code', t('shared.identity_code')) %th{class: 'col-xs-2'} = sort_link(@q, 'admin', t('shared.admin')) %th{class: 'col-xs-2'} = sort_link(@q, 'registrar', t('shared.registrar')) %tbody - @users.each do |x| %tr %td= link_to(x, [:admin, x]) %td= x.email %td= x.identity_code %td= x.admin %td= x.registrar .row .col-md-12 = paginate @users