36 lines
744 B
Plaintext
36 lines
744 B
Plaintext
|
{% extends "base" %}
|
||
|
{% block content %}
|
||
|
|
||
|
<table class="u-full-width">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Name</th>
|
||
|
<th>Cox</th>
|
||
|
<th>Admin</th>
|
||
|
<th>Action</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for user in users %}
|
||
|
<tr>
|
||
|
<form action="/user/{{ user.id }}" method="post">
|
||
|
<input type="hidden" name="_method" value="put" />
|
||
|
<td>{{user.name}}</td>
|
||
|
<td>
|
||
|
<input type="checkbox" name="is_cox" {% if user.is_cox %} checked="true"{% endif %}
|
||
|
</td>
|
||
|
<td>
|
||
|
<input type="checkbox" name="is_admin" {% if user.is_admin %} checked="true"{% endif %}
|
||
|
</td>
|
||
|
<td>
|
||
|
<input class="button-primary" type="submit" value="Speichern">
|
||
|
</td>
|
||
|
</form>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
{% endblock content %}
|
||
|
|