This commit is contained in:
cangui 2025-05-11 09:20:22 +02:00
parent 8913140b3e
commit 17be526718
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<!-- Flash message -->
<div id="userFlash"></div>
<form hx-post="/api/user/create" hx-target="#userList" hx-swap="beforeend" class="box">
<form hx-post="/api/user/create" hx-target="#userFlash" hx-swap="beforeend" class="box">
<div class="field">
<label class="label">Email</label>

View File

@ -62,7 +62,6 @@
<hr>
<div id="editForm"></div>
</div>
</div>
<!-- Script HTMX flash -->
<script>
document.body.addEventListener('htmx:afterOnLoad', (e) => {