fix dancer bugs

main
Zynh0722 2023-11-17 03:12:55 -08:00
parent 25a3d87c0c
commit 1b22a6a31b
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
Dancers Dancers
</h1> </h1>
<form hx-post="/api/dancers" hx-target="find #dancer_list" hx-swap="afterend" hx-on::after-request="if(event.detail.successful) this.reset()"> <form hx-post="/api/dancers" hx-target="find #dancer_list" hx-swap="beforeend" hx-on::after-request="if(event.detail.successful) this.reset()">
<table class="m-auto table-auto w-4/5"> <table class="m-auto table-auto w-4/5">
<thead class="text-xs text-gray-700 bg-gray-50"> <thead class="text-xs text-gray-700 bg-gray-50">
<tr> <tr>