osem-fcy/app/views/admin/users/show.html.haml

8 lines
149 B
Text
Raw Normal View History

2014-06-23 19:07:50 +03:00
%table.table
- @show_attributes.each do |attr|
%tr
%td
%b
= attr.capitalize.gsub('_', ' ')
%td= @user.send(attr)