forked from Ruderverein-Donau-Linz/rowt
add confirm dialog before creating a new user
This commit is contained in:
parent
8a9047b3c3
commit
af4163a065
@ -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">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user