mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Setting group sorting
This commit is contained in:
parent
46921c3e57
commit
c1d41df64f
3 changed files with 24 additions and 21 deletions
|
@ -2,13 +2,14 @@
|
|||
%hr
|
||||
.row
|
||||
.col-md-12
|
||||
%table.table.table-striped.table-bordered
|
||||
%tr
|
||||
%th{class: 'col-xs-9'}
|
||||
= t('shared.setting_group')
|
||||
%th{class: 'col-xs-2'}
|
||||
= t('shared.action')
|
||||
- @setting_groups.each do |x|
|
||||
.table-responsive
|
||||
%table.table.table-striped.table-bordered.table-condensed
|
||||
%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')
|
||||
%th{class: 'col-xs-9'}
|
||||
= sort_link(@q, 'code', t('shared.setting_group'))
|
||||
%th{class: 'col-xs-2'}
|
||||
= t('shared.action')
|
||||
- @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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue