summaryrefslogtreecommitdiff
path: root/app/views/users/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/index.html.erb')
-rw-r--r--app/views/users/index.html.erb31
1 files changed, 22 insertions, 9 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 59806db..4f5266d 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -1,14 +1,27 @@
1<table class="user_list"> 1<h1>Admins</h1>
2 <tr> 2<%= link_to new_user_path(admin: true), class: 'action_button' do %>
3 <td><h1>Admins</h1></td> 3 <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create admin user
4<% end %>
5<table class="user_table">
6 <tr class="header">
7 <th>Login</th>
8 <th></th>
9 <th></th>
10 <th></th>
4 </tr> 11 </tr>
5 <%= render :partial => "user", :locals => {:users => @users[:admin] ||= []} %> 12 <%= render :partial => "user", :locals => {:users => @users[:admin] ||= []} %>
6 <tr> 13</table>
7 <td><h1>Users</h1></td> 14
15<h1>Users</h1>
16<%= link_to new_user_path, class: 'action_button' do %>
17 <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create user
18<% end %>
19<table class="user_table">
20 <tr class="header">
21 <th>Login</th>
22 <th></th>
23 <th></th>
24 <th></th>
8 </tr> 25 </tr>
9 <%= render :partial => "user", :locals => {:users => @users[:user] ||= []} %> 26 <%= render :partial => "user", :locals => {:users => @users[:user] ||= []} %>
10</table> 27</table>
11
12<% content_for :subnavigation do %>
13 <%= link_to "create", new_user_path %>
14<% end %> \ No newline at end of file