ual_app/app/views/student/student_users/_student_user.haml
2014-08-24 00:18:02 +02:00

18 lines
585 B
Plaintext

%tr.vertical_center.student_user#student_user{:id => student_user.id}
%td=image_tag (student_user.avatar? ? student_user.avatar.square.url : ""), :class => "avatar", :style => "width:50px; border-radius:50%;"
%td=link_to student_user.firstname.to_s+" "+student_user.name.to_s, student_student_user_path(student_user)
%td
=student_user.cp
=student_user.city
-if student_user.country?
="-"
=student_user.country
%td
=student_user.email if student_user.show_email
%td
=student_user.tel if student_user.tel and student_user.show_tel