#militer_cat_index

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

  -if @militer_cat_parent
    .prevv_folder.receptable{:data => { :param_test => true, :parent_id => (@militer_cat_parent.parent ? @militer_cat_parent.parent.id : "no-menu-selected")} }


      =ic(:"folder-o")
      =link_to "...", admin_militer_cats_path( :parent_id => (@militer_cat_parent.parent ? @militer_cat_parent.parent.id : nil)), :remote => true


  

  #sortable_militer_cat{:data => {:parent_id => (@militer_cat_parent ? @militer_cat_parent.id : "")} }
  
    
          
    
          

      
      
    -if @militer_cats.size > 0
      =render @militer_cats
    -else
      .no_militer_cats
        Il n'y a aucun éléments de menu actuellement.
        
  :javascript

    init_militer_cats_list();