
#p_product_sub_cat_row.p_product_sub_cat_row.row{:id => p_product_sub_cat.id,:"data-menu-item-id" => p_product_sub_cat.id}
  
  .col-xs-2.receptable{:data => {:parent_id => p_product_sub_cat.id}}
    .btn-group
      %span.handle.btn=i(:arrows, :icon => false)
      =link_to (p_product_sub_cat.children.size > 0 ? i(:"folder", :icon => false) : i(:"folder-o", :icon => false) )+(p_product_sub_cat.children.size if p_product_sub_cat.children.size > 0).to_s, admin_p_product_sub_cats_path(:parent_id => p_product_sub_cat.id), :remote => true, :class => "btn"
  
  .col-xs-2
    =p_product_sub_cat.code
  
  .col-xs-6
    =p_product_sub_cat.name
      
 
        
  .col-xs-2.actions
    
    = link_to i(:"trash-o"), [:admin, p_product_sub_cat], :data =>{:remote => true, :confirm => 'Voulez-vous vraiment supprimer cette sous famille ?'}, :method => :delete #, if current_admin.super_admin? || !p_product_sub_cat.super_admin

    = link_to i(:pencil), edit_admin_p_product_sub_cat_path(p_product_sub_cat), :data => {:remote => true}

    
    

