Show More
Commit Description:
utf8mb4
Commit Description:
utf8mb4
File last commit:
Show/Diff file:
Action:
app/views/user_admin/show.html.haml | 14 lines | 338 B | text/x-haml | HamlLexer |
%h1 User information
- for column in User.content_columns
%p
%b
= column.human_name
\:
= h @user.send(column.name)
%p
%strong Group
\:
= @user.groups.map{ |x| link_to(x.name,group_path(x)).html_safe}.join(', ').html_safe
= link_to 'Edit', :action => 'edit', :id => @user
|
= link_to 'Back', :action => 'index'