summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r--app/views/users/show.html.erb22
1 files changed, 20 insertions, 2 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index e5fa3adf..3055d240 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -1,2 +1,20 @@
1<h1>Users#show</h1> 1<h1>User: <%= @user.login %></h1>
2<p>Find me in app/views/users/show.html.erb</p> 2
3<table id="new_node">
4 <tr>
5 <td class="description">Login</td>
6 <td><%= @user.login %></td>
7 </tr>
8 <tr>
9 <td class="description">E-Mail</td>
10 <td><%= @user.email %></td>
11 </tr>
12 <tr>
13 <td class="description">Admin?</td>
14 <td><%= @user.admin ? "yes" : "no" %></td>
15 </tr>
16</table>
17
18<% content_for :subnavigation do %>
19 <%= link_to 'Edit', edit_user_path(@user) %>
20<% end %>