Show More
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml * bootrapize the user_admin * now considering user.enabled * tidy up route
File last commit:
Show/Diff file:
Action:
app/views/user_admin/show.html.erb | 10 lines | 253 B | text/plain | TextLexer |
<h1>User information</h1>
<% for column in User.content_columns %>
<p>
<b><%= column.human_name %>:</b> <%=h @user.send(column.name) %>
</p>
<% end %>
<%= link_to 'Edit', :action => 'edit', :id => @user %> |
<%= link_to 'Back', :action => 'list' %>