Open-Source-Access-Control-.../app/views/users/show.html.erb

19 lines
221 B
Plaintext

<p>
<b>Name:</b>
<%= @user.name %>
</p>
<p>
<b>Email:</b>
<%= @user.email %>
</p>
<p>
<b>Admin?</b>
<%= @user.admin %>
</p>
<%= link_to 'Edit', edit_user_path(@user) %> |
<%= link_to 'Back', users_path %>