
#product_category_row.product_category_row.row{:id => product_category.id,:"data-menu-item-id" => product_category.id}
  
  .col-xs-2.receptable{:data => {:parent_id => product_category.id}}
    .btn-group
      %span.handle.btn=i(:arrows, :icon => false)
      =link_to (product_category.children.size > 0 ? i(:"folder", :icon => false) : i(:"folder-o", :icon => false) )+(product_category.children.size if product_category.children.size > 0).to_s, admin_product_categories_path(:parent_id => product_category.id), :remote => true, :class => "btn"
    
  
  .col-xs-4
    =product_category.lang("fr").name
    (
    =product_category.product_collections.count
    collections
    )
    
      
  .col-xs-4
    =#link_to "/"+product_category.permalink+".html", product_category_path(:url => product_category.url)
        
  .col-xs-2.actions{:style => "text-align:right;"}
    
    = link_to i(:"trash-o"), [:admin, product_category], :data =>{:remote => true, :confirm => 'Voulez-vous vraiment supprimer cet élément de menu ?'}, :method => :delete #, if current_admin.super_admin? || !product_category.super_admin

    = link_to i(:eye), [:admin, product_category]
    
    = link_to i(:pencil), edit_admin_product_category_path(product_category), :data => {:remote => true}

    
    

