#p_product_sub_cat_index

  %ul.breadcrumb
    = link_to 'Ajouter une catégorie', new_admin_p_product_sub_cat_path(:parent_id => params[:parent_id]), :class => "btn btn-primary",:remote => true, :style => "float:right;"
    %li
    -if @p_product_sub_cat_parent
      -@p_product_sub_cat_parent.ancestors.reverse.each do |p_product_sub_cat|
        %li
          =link_to p_product_sub_cat.name, admin_p_product_sub_cats_path( :parent_id =>p_product_sub_cat.id), :remote => true
          %span.divider /
      
      %li
        =@p_product_sub_cat_parent.name
        %span.divider /
    %p{:style => "clear:both;"}
  
  

  -if @p_product_sub_cat_parent
    .prevv_folder.receptable{:data => { :param_test => true, :parent_id => (@p_product_sub_cat_parent.parent ? @p_product_sub_cat_parent.parent.id : "no-menu-selected")} }
      .row-fluid
        .span1
          =i(:"folder-close", :icon => false)
  

        .span2=link_to "...", admin_p_product_sub_cats_path( :parent_id => (@p_product_sub_cat_parent.parent ? @p_product_sub_cat_parent.parent.id : nil)), :remote => true
    
        .span3
    
        .span4
      
      
        .span2.actions
        

  #sortable_p_product_sub_cat{:data => {:parent_id => (@p_product_sub_cat_parent ? @p_product_sub_cat_parent.id : "")} }
  
    
          
    
          

      
      
    -if @p_product_sub_cats.size > 0
      =render @p_product_sub_cats
    -else
      .no_p_product_sub_cats
        Il n'y a aucun éléments de menu actuellement.
        
  :javascript
    init_p_product_sub_cats_list();