Sha256: f7f8dae1bf47597bcd921355064902caedf3994f8bb7531f16a81d1c749ca40c
Contents?: true
Size: 845 Bytes
Versions: 34
Compression:
Stored size: 845 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.handle - 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
34 entries across 34 versions & 1 rubygems