add foodcoop configuration screen
This commit is contained in:
parent
dd3ac0971c
commit
7b000c39eb
20 changed files with 562 additions and 12 deletions
13
app/views/admin/configs/show.html.haml
Normal file
13
app/views/admin/configs/show.html.haml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
- title t('admin.configs.tabs.title'), false
|
||||
|
||||
= simple_form_for :config, method: :patch do |f|
|
||||
|
||||
= render 'tabs', url: nil
|
||||
|
||||
.tab-content
|
||||
- for tab in @tabs
|
||||
.tab-pane{class: ('active' if @current_tab==tab), id: "tab-#{tab}"}= render "tab_#{tab}", form: f
|
||||
|
||||
.form-actions
|
||||
= f.submit t('.submit'), class: 'btn btn-primary'
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue