jipe_app/app/views/admin/contacts/index.html.haml
2019-04-11 17:07:52 +02:00

68 lines
914 B
Plaintext

.qi_header
.right= link_to 'Ajouter un contact', new_admin_contact_path, :class => "btn btn-primary", :style => "float:right;", :remote => true
%h1
Contacts
.qi_row
.qi_pannel.qi_plain.padding
.header
%p
-Contact::STATUS.each do |status|
=link_to status, admin_contacts_path(:status => status)
:scss
table{
td{
vertical-align:middle !important;
}
}
%table.table.table-hover
%thead#Admin_rows_header.rows_header
%tr
%td
%td
%td
%td
Date
%td
Nom
%td
Coordonnées
%td Commentaire
%td Géré par
%td{:style => "width:150px"}
 
%tbody#admin_rows.rows
=render @contacts