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

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

    
    

