Move tab templates to their own directory for clarity

This commit is contained in:
Matt-Yorkley
2020-01-07 21:14:11 +01:00
parent 18e5f9ba64
commit 673c587c3b
5 changed files with 2 additions and 2 deletions

View File

@@ -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