camper/web/templates
jordi fita mas c9e8165f83 Allow updating bookings
I need to retrieve the values from the database and put them in the
form, like all other forms, but in this case the processing is done as
if it were a new form, because everything comes from the query string
and there is no need to do any extra work then.

Had to move the <footer> from the fields.gohtml to form.gohtml because
then it could not know that it was editing an existing booking.  Had to
move the <fieldset> out too, in order to give it an ID and make it
htmx’s target, or it would replace the form, causing even more problems
—the button would disappear then—.  The target **must** be in <form>
because it is needed for tis children’s hx-get and for its own hx-put.
2024-04-25 20:27:08 +02:00
..
admin Allow updating bookings 2024-04-25 20:27:08 +02:00
mail/payment Compute ACSI discount 2024-03-14 22:08:01 +01:00
public “Finish” the new booking form 2024-04-24 20:19:13 +02:00
campground_map.svg Add a controlled layer group for the zones on the map 2024-01-31 15:12:11 +01:00