%h1 Gestion des besoins
-if @needs_to_validate.length > 0
%h2 Modération des besoins
%div.alert.alert-info
Avant qu'un besoin soit visible par l'ensemble des clients, vous devez le valider en cliquant sur le bouton
%br
Si pour une raison ou pour une autre le besoin ne respecte pas la charte, cliquez sur le bouton
%table.table.admin_table.table-hover.table-striped
%thead.rows_header
%tr
%td
Titre
%td
Émetteur
%td
Créé
%td{:style => "width:100px"}
%tbody.rows
=render @needs_to_validate
%h2 Liste des besoins
%table.table.admin_table.table-hover.table-striped
%thead.rows_header
%tr
%td
Titre
%td
Émetteur
%td
Créé
%td{:style => "width:100px"}
%tbody.rows
=render @needs
.pagination.pull-right= paginate @needs