osem-fcy/app/views/admin/users/show.html.haml
2014-06-30 15:46:06 +03:00

7 lines
149 B
Text

%table.table
- @show_attributes.each do |attr|
%tr
%td
%b
= attr.capitalize.gsub('_', ' ')
%td= @user.send(attr)