JJJJ
This commit is contained in:
parent
8913140b3e
commit
17be526718
@ -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>
|
||||
|
||||
@ -62,7 +62,6 @@
|
||||
<hr>
|
||||
<div id="editForm"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Script HTMX flash -->
|
||||
<script>
|
||||
document.body.addEventListener('htmx:afterOnLoad', (e) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user