mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-13 17:18:58 +00:00
Added ability to remove permissions
This commit is contained in:
@@ -50,13 +50,14 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>User Email</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @users_delegates.each do |delegate| %>
|
||||
<tr>
|
||||
<td><%= delegate.user.email %></td>
|
||||
|
||||
<td><%= link_to 'Remove permissions', "/tournaments/#{@tournament.id}/#{delegate.id}/remove_delegate", method: :delete, confirm: 'Are you sure?', :class=>"btn btn-danger btn-sm" %></td>
|
||||
</tr>
|
||||
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user