pic_vert_app/app/views/sheets/_sheets.html.haml
2013-06-28 17:20:23 +02:00

12 lines
271 B
Plaintext

=@sheets.size
résultats
%table.table.table-striped.table-hover
%tr
%th Nom
%th Prénom
%th Téléphone
%th Email
%th
=render @sheets.sort{|u,v| ((u.person.surname if u.person) || u.corporate).to_s <=>(( v.person.surname if v.person )|| v.corporate).to_s}