hhhh
This commit is contained in:
parent
898c2fff62
commit
8913140b3e
@ -4,7 +4,11 @@
|
|||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
{{ template "sidebar" . }}
|
{{ template "sidebar" . }}
|
||||||
<div class="column is-10">
|
<div class="column is-10">
|
||||||
<form hx-post="/api/user/create" hx-on="htmx:afterRequest: window.location.href = '/admin/user'" class="box">
|
<h1 class="title">Création d'un utilisateur</h1>
|
||||||
|
|
||||||
|
<!-- Flash message -->
|
||||||
|
<div id="userFlash"></div>
|
||||||
|
<form hx-post="/api/user/create" hx-target="#userList" hx-swap="beforeend" class="box">
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label">Email</label>
|
<label class="label">Email</label>
|
||||||
@ -63,6 +67,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user