mirror of
https://github.com/internetee/registry.git
synced 2025-07-12 05:58:23 +02:00
Refactor admin interface under namespace
This commit is contained in:
parent
0c3105a159
commit
a3b04786cf
7 changed files with 18 additions and 18 deletions
14
app/views/admin/setting_groups/index.haml
Normal file
14
app/views/admin/setting_groups/index.haml
Normal file
|
@ -0,0 +1,14 @@
|
|||
%h2= t('shared.setting_groups')
|
||||
%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|
|
||||
%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