forked from Ruderverein-Donau-Linz/rowt
[BUGFIX] checkboxes name
This commit is contained in:
parent
484e4e4175
commit
fe69ea670e
@ -39,9 +39,9 @@
|
||||
<input type="hidden" name="id" value="{{ user.id }}" />
|
||||
<div class="font-bold mb-1">{{ user.name }}</div>
|
||||
<div class="grid md:grid-cols-3">
|
||||
{{ macros::checkbox(label='Gast', name='is_guest', index=loop.index , checked=user.is_guest) }}
|
||||
{{ macros::checkbox(label='Steuerberechtigter', name='is_cox', index=loop.index , checked=user.is_cox) }}
|
||||
{{ macros::checkbox(label='Admin', name='is_admin', index=loop.index , checked=user.is_admin) }}
|
||||
{{ macros::checkbox(label='Gast', 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='Admin', name='is_admin', id=loop.index , checked=user.is_admin) }}
|
||||
</div>
|
||||
{% if user.pw %}
|
||||
<a class="inline-block mt-1 text-primary-600 hover:text-primary-900 underline" href="/admin/user/{{ user.id }}/reset-pw">Passwort zurücksetzen</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user