feat: guard to prevent premature form submissions while uploading

This commit is contained in:
Björn Fromme
2026-03-15 12:42:28 +01:00
parent 0652ca9f8b
commit 923e880056
11 changed files with 68 additions and 20 deletions
@@ -101,7 +101,7 @@
{{ icon('check') }}
</button>
{% endif %}
{% if teamer.user.disabled %}
{% if teamer.user is not null and teamer.user.disabled %}
{% if is_granted('ROLE_ADMIN') %}
<button type="button"
role="menuitem"
@@ -134,7 +134,7 @@
{{ icon('user') }}
</a>
</div>
{% if teamer.user.disabled %}
{% if teamer.user is not null and teamer.user.disabled %}
<div class="py-1 px-2 mt-2 text-xs bg-red-500 text-white">
gesp. am {{ teamer.user.disabledAt | date('d.m.Y') }}
</div>