projects
/
opencantine5
/
opencantine5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
user role
[opencantine5/opencantine5.git]
/
app
/
views
/
users
/
_user.html.erb
diff --git
a/app/views/users/_user.html.erb
b/app/views/users/_user.html.erb
index
ab194b7
..
c85dd73
100644
(file)
--- a/
app/views/users/_user.html.erb
+++ b/
app/views/users/_user.html.erb
@@
-1,6
+1,6
@@
<tr>
<td><%= user.email %></td>
- <td><
i class="<%= user.admin? ? "far fa-check-circle" : "" %>"></i
></td>
+ <td><
%= user.role %
></td>
<td><% if policy(user).edit? %>
<%= link_to edit_user_path(user) do %>
<i class="far fa-edit"></i>