This commit is contained in:
cangui 2025-05-11 08:44:17 +02:00
parent ece1335614
commit 588bc9f93b

View File

@ -4,7 +4,7 @@
<!-- Sidebar --> <!-- Sidebar -->
{{ template "sidebar" . }} {{ template "sidebar" . }}
<div class="column is-10"> <div class="column is-10">
<form hx-post="/api/user/create" hx-target="#userList" hx-swap="beforeend" class="box"> <form hx-post="/api/user/create" hx-on="htmx:afterRequest: window.location.href = '/admin/user'" class="box">
<div class="field"> <div class="field">
<label class="label">Email</label> <label class="label">Email</label>