forked from bofh/fetsite
GitHub Account angelegt
This commit is contained in:
10
app/views/users/index.html.erb
Normal file
10
app/views/users/index.html.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
<table class="table">
|
||||
<% @users.each do |user|%>
|
||||
<tr>
|
||||
<th>
|
||||
<%= user.email %></th><td><ul>
|
||||
<% user.roles.each do |role| %>
|
||||
<li><%= role.name%></li>
|
||||
<% end %></ul></td>
|
||||
</tr><% end %>
|
||||
</table>
|
||||
Reference in New Issue
Block a user