implement group member management
This commit is contained in:
parent
6446c09a01
commit
8de81d8ab1
2 changed files with 56 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue