implement group member management

This commit is contained in:
Franzi 2021-12-21 10:20:16 +01:00
parent 6446c09a01
commit 8de81d8ab1
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 56 additions and 3 deletions

View file

@ -24,4 +24,23 @@
{% endfor %}
</tbody>
</table>
<form action="{{ url_for("group_edit", ou=ou) }}" method="post" class="row g-3 needs-validation">
<fieldset>
<legend>add user to group</legend>
<div class="row mb-3">
<label for="add" class="form-label col-sm-2">user</label>
<div class="col-sm-10">
<select name="add" id="add" class="form-select">
<option value="" selected>select user ...</option>
{% for user in other_users|sort %}
<option value="{{ user["uid"] }}">{{ user["cn"] }} ({{ user["uid"] }})</option>
{% endfor %}
</select>
</div>
</div>
<input type="submit" value="add user" class="btn btn-primary mb-3"><br>
</fieldset>
</form>
{% endblock %}