add portal link in user list

This commit is contained in:
Kiara Grouwstra 2024-03-24 13:46:10 +01:00
parent 49759853ae
commit ef1622df5d
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<th>Proxy</th>
<th>Presence</th>
<th>Votes</th>
<th colspan="2"></th>
<th colspan="5"></th>
</tr>
</thead>
@ -37,6 +37,7 @@
<td><%= link_to 'Destroy', user_path(user), method: :delete, data: { confirm: 'Are you sure you wish to destroy this user?' } %></td>
<td><%= link_to 'Export', room_export_voters_path(@room, user: user.id) %></td>
<td><%= link_to 'Send test invite', test_invite_user_path(params[:room_id], user), method: :post %></td>
<td><%= link_to 'Portaal', user_elections_path(user.token) %></td>
</tr>
<% end %>
</tbody>