mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Move tab templates to their own directory for clarity
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
- shop_tabs.each do |tab|
|
||||
= render "shopping_shared/#{tab[:name]}"
|
||||
= render "shopping_shared/tabs/#{tab[:name]}"
|
||||
|
||||
.tabset-ctrl#shop-tabs{ navigate: 'true', prefix: 'shop', ng: { cloak: true } }
|
||||
.row
|
||||
- shop_tabs.each do |tab|
|
||||
.small-12.columns.tab{ id: "tab_#{tab[:name]}", name: tab[:name], class: "medium-#{tab[:cols]}" }
|
||||
.small-12.columns.tab{ id: "tab_#{tab[:name]}", name: tab[:name], class: "" }
|
||||
%a{ href: 'javascript:void(0)' }=tab[:title]
|
||||
.small-12.columns.tab-view
|
||||
|
||||
Reference in New Issue
Block a user