Merge pull request 'add confirm dialog before creating a new user' (#841) from confirm-user-creation into main

Reviewed-on: Ruderverein-Donau-Linz/rowt#841
This commit is contained in:
philipp 2025-01-09 10:22:58 +01:00
commit cfe99c2f2a

View File

@ -5,6 +5,7 @@
<h1 class="h1">Users</h1>
{% if allowed_to_edit %}
<form action="/admin/user/new"
onsubmit="return confirm('Willst du wirklich einen neuen Benutzer anlegen?');"
method="post"
class="mt-4 bg-primary-900 rounded-md text-white px-3 pb-3 pt-2 sm:flex items-end justify-between">
<div class="w-full">