mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-16 04:24:23 +00:00
WIP: Adding a side_menu to the enterprise form
This commit is contained in:
@@ -11,11 +11,11 @@
|
||||
} do |f|
|
||||
.row
|
||||
.sixteen.columns.alpha
|
||||
.four.columns.omega
|
||||
= render 'side_menu'
|
||||
.one.column
|
||||
.eleven.columns.alpha.fullwidth_inputs
|
||||
= render 'form', f: f
|
||||
.one.column
|
||||
.four.columns.omega
|
||||
= render 'sidebar', f: f
|
||||
.row
|
||||
.twelve.columns.alpha
|
||||
= render partial: "spree/admin/shared/#{action}_resource_links"
|
||||
|
||||
3
app/views/admin/enterprises/_side_menu.html.haml
Normal file
3
app/views/admin/enterprises/_side_menu.html.haml
Normal file
@@ -0,0 +1,3 @@
|
||||
.side_menu{ ng: { controller: 'sideMenuCtrl' } }
|
||||
.menu_item{ ng: { repeat: '(index,item) in menu', click: 'select(index)', class: '{ selected: item.selected}', 'class-odd' => "'odd'", 'class-even' => "'even'" } }
|
||||
{{ item.name }}
|
||||
Reference in New Issue
Block a user