diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
| commit | 8eab68f2c5a3c126e2fec2ecdfa7ace87ce0937b (patch) | |
| tree | f446ebc26a7707c7b64a937aa51a155df146c80a /app/views/users/index.html.erb | |
| parent | 42714c697273a7117c6b355fab26c8c35e336ad1 (diff) | |
| parent | cdf5d9941ca866d437612d2f863eac6eb0b3db12 (diff) | |
Merge branch 'erdgeist-revive-events'
Diffstat (limited to 'app/views/users/index.html.erb')
| -rw-r--r-- | app/views/users/index.html.erb | 31 |
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 | ||
