Sha256: 5242122301e5623a648dc633241595464dc58f30f3468526b8620deda24145e9
Contents?: true
Size: 847 Bytes
Versions: 3
Compression:
Stored size: 847 Bytes
Contents
%li.category{:id => "category_#{category.id}", :'data-id' => category.id } .attributes - render_region :category do |body| - body.move do %span.move.attribute - body.name do %span.name.attribute= link_to category.name, edit_admin_shop_category_path(category) - body.handle do %span.handle.attribute= category.page.url - body.modify do .modify %span.add_child= link_to t('add_product'), new_admin_shop_category_product_path(category) %span.remove= link_to t('remove'), remove_admin_shop_category_path(category) - render_region :products do |products| - products.body do %ul.products{ :id => "category_#{category.id}_products", :'data-id' => category.id } = render :partial => '/admin/shop/products/index/product', :collection => category.products
Version data entries
3 entries across 3 versions & 1 rubygems