Merge pull request 'confirm-user-creation' (#840) from confirm-user-creation into staging

Reviewed-on: Ruderverein-Donau-Linz/rowt#840
This commit is contained in:
philipp 2025-01-09 10:22:56 +01:00
commit 2a3f846c5c

View File

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