internetee-registry/app/views/admin/setting_groups/index.haml
2014-09-05 17:38:51 +03:00

17 lines
579 B
Text

%h2= t('shared.setting_groups')
%hr
.row
.col-md-12
.table-responsive
%table.table.table-hover.table-bordered.table-condensed
%thead
%tr
%th{class: 'col-xs-9'}
= sort_link(@q, 'code', t('shared.setting_group'))
%th{class: 'col-xs-2'}
= t('shared.action')
%tbody
- @setting_groups.each do |x|
%tr
%td= t("setting_groups.codes.#{x.code}")
%td= link_to(t('shared.edit_settings'), admin_setting_group_path(x), class: 'btn btn-primary btn-xs')