confirmation response template
This commit is contained in:
parent
9734d4abf6
commit
28a3ca3bb4
3 changed files with 9 additions and 2 deletions
|
|
@ -1,4 +0,0 @@
|
|||
<div id="order_confirmation" hx-get="new_order.html" hx-swap="outerHTML">
|
||||
<button hx-get="new_order.html" hx-target="#order_confirmation" hx-swap="outerHTML" x-on:click="open = false">Back</button>
|
||||
<button hx-get="new_order.html" hx-target="#order_confirmation" hx-swap="outerHTML">New Order</button>
|
||||
</div>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<form x-show="open" hx-get="confirmation.html" hx-swap="outerHTML">
|
||||
<form x-show="open" hx-post="order/new" hx-swap="outerHTML">
|
||||
<div>
|
||||
<label for="firstname">First Name</label>
|
||||
<input type="text" id="firstname" name="firstname" value="">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue