Modal refactor
This commit is contained in:
@@ -39,8 +39,7 @@ html lang="en"
|
||||
span data-t="supplier.open_for_orders"
|
||||
a.close{data-dismiss="alert"} ×
|
||||
.row
|
||||
.span12
|
||||
= content_for?(:content) ? yield(:content) : yield
|
||||
.span12= content_for?(:content) ? yield(:content) : yield
|
||||
- if content_for?(:row)
|
||||
.row= yield :row
|
||||
.row
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
- content_for :head do
|
||||
= javascript_include_tag 'supplier/app/application'
|
||||
@@ -6,6 +6,7 @@ header.top-menu
|
||||
//li= link_to t('supplier.menu.active_orders', orders: Order.model_name.human_plural), supplier_active_orders_path
|
||||
//li= link_to t('supplier.menu.active_lists', lists: List.model_name.human_plural), supplier_active_lists_path
|
||||
= link_to image_tag('icons/logo-small.png'), supplier_root_path, class: 'top-menu-root'
|
||||
= link_to 'Menu', suppliers_menu_path, class: 'top-menu-menu'
|
||||
= link_to ProductCategory.model_name.human_plural, suppliers_product_categories_path, data: {t: 'models.plural.product_category'}, class: 'top-menu-product_categories'
|
||||
= link_to Product.model_name.human_plural, suppliers_products_path, data: {t: 'models.plural.product'}, class: 'top-menu-products'
|
||||
= link_to Section.model_name.human_plural, "/supplier#/sections", data: {t: 'models.plural.section'}, class: 'top-menu-sections'
|
||||
|
||||
Reference in New Issue
Block a user