diff options
Diffstat (limited to 'app/views/users')
| -rw-r--r-- | app/views/users/show.html.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 3055d24..80483d3 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | <% content_for :subnavigation do %> | ||
| 2 | <%= link_to 'Edit', edit_user_path(@user) %> | ||
| 3 | <% end %> | ||
| 4 | |||
| 1 | <h1>User: <%= @user.login %></h1> | 5 | <h1>User: <%= @user.login %></h1> |
| 2 | 6 | ||
| 3 | <table id="new_node"> | 7 | <table id="new_node"> |
| @@ -13,8 +17,4 @@ | |||
| 13 | <td class="description">Admin?</td> | 17 | <td class="description">Admin?</td> |
| 14 | <td><%= @user.admin ? "yes" : "no" %></td> | 18 | <td><%= @user.admin ? "yes" : "no" %></td> |
| 15 | </tr> | 19 | </tr> |
| 16 | </table> | 20 | </table> \ No newline at end of file |
| 17 | |||
| 18 | <% content_for :subnavigation do %> | ||
| 19 | <%= link_to 'Edit', edit_user_path(@user) %> | ||
| 20 | <% end %> | ||
