Commit 7b258b28 authored by Tobias Kallauke's avatar Tobias Kallauke
Browse files

Fix role update

Admin-Select box had wrong class. JS was trying to read the value as a changed role
parent f5938068
......@@ -15,7 +15,7 @@
<div class="col">
<div class="row">
<div class="col-11">
<select name="admins" id="admins" class="form-control role-select pointer">
<select name="admins" id="admins" class="form-control pointer">
<% @members.each do |m| %>
<% if m.role == Roles::ADMIN %>
<option value="<%= m.login %>@hs-mittweida.de"><%= m.login %>@hs-mittweida.de</option>
......@@ -27,7 +27,7 @@
<i class="btn btn-primary bi bi-clipboard pointer adminEmailCopy"></i>
</div>
</div>
</div>
</div>
......@@ -39,7 +39,7 @@
<% end %>
</div>
<div class="col textrs">
<%= t('group.adminListDescription') %>
<%= t('group.adminListDescription') %>
</div>
</div>
</div>
\ No newline at end of file
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment