diff options
Diffstat (limited to 'app/views/users')
| -rw-r--r-- | app/views/users/index.html.erb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index cf00ef6..88868f5 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb | |||
| @@ -2,13 +2,25 @@ | |||
| 2 | <tr> | 2 | <tr> |
| 3 | <td><h1>Admins</h1></td> | 3 | <td><h1>Admins</h1></td> |
| 4 | </tr> | 4 | </tr> |
| 5 | <tr class="header"> | ||
| 6 | <th>Login</th> | ||
| 7 | <th></th> | ||
| 8 | <th></th> | ||
| 9 | <th></th> | ||
| 10 | </tr> | ||
| 5 | <%= render :partial => "user", :locals => {:users => @users[:admin] ||= []} %> | 11 | <%= render :partial => "user", :locals => {:users => @users[:admin] ||= []} %> |
| 6 | <tr> | 12 | <tr> |
| 7 | <td><h1>Users</h1></td> | 13 | <td><h1>Users</h1></td> |
| 8 | </tr> | 14 | </tr> |
| 15 | <tr class="header"> | ||
| 16 | <th>Login</th> | ||
| 17 | <th></th> | ||
| 18 | <th></th> | ||
| 19 | <th></th> | ||
| 20 | </tr> | ||
| 9 | <%= render :partial => "user", :locals => {:users => @users[:user] ||= []} %> | 21 | <%= render :partial => "user", :locals => {:users => @users[:user] ||= []} %> |
| 10 | </table> | 22 | </table> |
| 11 | 23 | ||
| 12 | <% content_for :subnavigation do %> | 24 | <% content_for :subnavigation do %> |
| 13 | <%= link_to "create", new_user_path %> | 25 | <%= link_to "create", new_user_path %> |
| 14 | <% end %> \ No newline at end of file | 26 | <% end %> |
