php_app/app/views/admin/admins/index.html.haml
Nicolas Bally 5cf3a3e83d initial
2014-11-25 22:56:20 +01:00

44 lines
533 B
Plaintext

= link_to 'Ajouter un administrateur', new_admin_admin_path, :remote => true, :class => "btn btn-primary", :style => "float:right;"
%h1 Liste des administrateurs
%table.table.table-hover.table-striped
%thead#Admin_rows_header.rows_header
%tr
%td
Nom d'utilisateur
%td
Email
%td
Nom
%td
Prénom
%td{:style => "width:100px"}
 
%tbody#admin_rows.rows
=render @admins