ual_app/app/views/admin/contacts/index.html.haml
2017-11-13 22:29:52 +01:00

52 lines
669 B
Plaintext

= link_to 'Ajouter un contact', new_admin_contact_path, :class => "btn btn-primary", :style => "float:right;", :remote => true
%h1 Liste des contacts
%p
-["En cours", "Signés","En attente", "Archivé"].each do |status|
=link_to status, admin_contacts_path(:status => status)
%table.table.table-hover
%thead#Admin_rows_header.rows_header
%tr
%td
%td
%td
%td
Date
%td
Nom
%td
Coordonnées
%td Géré par
%td{:style => "width:150px"}
 
%tbody#admin_rows.rows
=render @contacts