update waiter templates
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
each product_category in controller
|
each model as |product_category|
|
||||||
if product_category.products
|
if product_category.products
|
||||||
h5= product_category.name
|
h5= product_category.name
|
||||||
hr
|
hr
|
||||||
ul.product_category-products
|
ul.product_category-products
|
||||||
each product in product_category.products
|
each product_category.products as |product|
|
||||||
li
|
li
|
||||||
a{action "addProduct" product } href="#" = product.name
|
a{action "addProduct" product } href="#" = product.name
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.row
|
.row
|
||||||
.section-tables.small-12.medium-6.large-4.columns
|
.section-tables.small-12.medium-6.large-4.columns
|
||||||
each table in tables
|
each tables as |table|
|
||||||
= link-to 'table' table class="panel section-table"
|
= link-to 'table' table class="panel section-table"
|
||||||
= table.number
|
= table.number
|
||||||
.small-12.medium-6.large-4.columns= render 'product_categories'
|
.small-12.medium-6.large-4.columns= render 'product_categories'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
dl.sub-nav
|
dl.sub-nav
|
||||||
dt= t 'model.section'
|
dt= t 'model.section'
|
||||||
each section in controller
|
each model as |section|
|
||||||
view App.SectionHeaderView context=section
|
view App.SectionHeaderView context=section
|
||||||
else
|
else
|
||||||
dd No available sections
|
dd No available sections
|
||||||
|
|||||||
Reference in New Issue
Block a user