{% import "includes/macros" as macros %} {% extends "base" %} {% block content %}
{% if flash %} {{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }} {% endif %}

Users

Neuen User hinzufügen

{% for user in users %}
{{ user.name }} {% if user.last_access %} (last access: {{ user.last_access | date }}) {% endif %}
{{ macros::checkbox(label='Scheckbuch', name='is_guest', id=loop.index , checked=user.is_guest) }} {{ macros::checkbox(label='Steuerberechtigter', name='is_cox', id=loop.index , checked=user.is_cox) }} {{ macros::checkbox(label='Technical', name='is_tech', id=loop.index , checked=user.is_tech) }} {{ macros::checkbox(label='Admin', name='is_admin', id=loop.index , checked=user.is_admin) }}
{% if user.pw %} Passwort zurücksetzen {% endif %}
{% endfor %}
{% endblock content %}