From 34746b100d5a6d7b3ed294dc45cda85e66b28817 Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Thu, 6 Apr 2023 18:40:23 +0200 Subject: [PATCH] [TASK] admin user interface replace checkbox with macros checkbox --- templates/admin/user/index.html.tera | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/admin/user/index.html.tera b/templates/admin/user/index.html.tera index d7f2b36..28dc738 100644 --- a/templates/admin/user/index.html.tera +++ b/templates/admin/user/index.html.tera @@ -37,9 +37,9 @@
{{ user.name }}
- - - + {{ macros::checkbox(label='Gast', name='is_guest' ~ loop.index , checked=user.is_guest) }} + {{ macros::checkbox(label='Steuerberechtigter', name='is_cox' ~ loop.index , checked=user.is_cox) }} + {{ macros::checkbox(label='Admin', name='is_admin' ~ loop.index , checked=user.is_admin) }}
{% if user.pw %} Passwort zurücksetzen