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>
|
||||
{% 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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user