
%tr{:id => need_category.id}
  %td
    =(need_category.level > 0 ? ('&nbsp;&nbsp;&nbsp;' * (need_category.level - 1)) + "|- ": "").html_safe + need_category.name
  %td.actions{:style => "width:150px;text-align:right"}
    = link_to i(:"trash-o"), [:admin, need_category], :data => {:confirm => 'Voulez-vous vraiment supprimer cette catégorie ?'}, :method => :delete
    = link_to i(:pencil), edit_admin_need_category_path(need_category)
