{% extends 'admin_panel/base.html' %} {% import 'macros/autoform.html' as autoform %} {% import 'macros/form.html' as form %} {% block ap_content %}

{{ _("List of users") }}

{{ form.select('bulk-action', id='bulk-action', label=_('Action'), options=bulk_options, selected="", error=error) }}
{% for user in page.items %} {% endfor %}
{{ form.checkbox() }} {{ _("Username") }} {{ _("Full Name") }} {{ _("Email") }} {{ _("State") }} {{ _("Sysadmin") }} {{ _("Actions") }}
{{ form.checkbox() }} {{ h.linked_user(user['name'], maxlength=20) }} {{ user.fullname or "-" }} {{ user.email }} {{ user.state | title }} {{ "Yes" if user.sysadmin else "No" }} {{ _("Edit") }}
{% endblock ap_content %}