ual_app/app/views/admin/contacts/_contact.html.haml
Nicolas Bally ec1f1ae71a contacts
2015-11-01 18:50:03 +01:00

25 lines
507 B
Plaintext

%tr.vertical_center.contact#contact{:id => contact.id, :class => ("success" if !contact.readed)}
%td
=l contact.created_at
%td
=contact.name
%td
=contact.email
%td
=contact.tel
%td.actions
= link_to i(:"trash-o"), [:admin, contact], :confirm => 'Voulez-vous vraiment supprimer cet utilisateur ?', :method => :delete, :remote => true
= link_to i(:pencil), edit_admin_contact_path(contact), :remote => true
= link_to i(:eye), [:admin, contact]