Compare commits

..

2 Commits

Author SHA1 Message Date
Zynh0722 f6243fba91 move adminer off of common port
this is just to be less annoying because syncthing uses 8080 on one of my dev machines
2023-11-15 12:49:08 -08:00
Zynh0722 6718f345ae clear form if successful response 2023-11-15 12:48:37 -08:00
2 changed files with 2 additions and 2 deletions

View File

@ -21,4 +21,4 @@ services:
image: adminer
restart: always
ports:
- 8080:8080
- 8081:8080

View File

@ -11,7 +11,7 @@
@:return_to_main_html()
</div>
<form hx-post="/api/dancers" hx-target="next #dancer_list" hx-swap="afterbegin">
<form hx-post="/api/dancers" hx-target="next #dancer_list" hx-swap="afterbegin" hx-on::after-request=" if(event.detail.successful) this.reset()">
<div class="flex w-3/5">
<div class="relative">
<input type="text" id="name" name="name"