blob: 0a003cb1c2928e46051c03087cef4f7affb30b32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<h1><%= t(".admins") %></h1>
<%= link_to new_user_path(admin: true), class: 'action_button' do %>
<%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_admin") %>
<% end %>
<table class="user_table">
<tr class="header">
<th><%= t("users.labels.login") %></th>
<th></th>
<th></th>
<th></th>
</tr>
<%= render :partial => "user", :locals => {:users => @users[:admin] ||= []} %>
</table>
<h1><%= t(".users") %></h1>
<%= link_to new_user_path, class: 'action_button' do %>
<%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_user") %>
<% end %>
<table class="user_table">
<tr class="header">
<th><%= t("users.labels.login") %></th>
<th></th>
<th></th>
<th></th>
</tr>
<%= render :partial => "user", :locals => {:users => @users[:user] ||= []} %>
</table>
|