Go to file
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
cmd/camper Increase HTTP timeout 2024-03-05 12:05:00 +01:00
debian Tag version 8 of the database 2024-04-22 13:43:38 +02:00
demo Fix insert of booking in demo SQL file 2024-04-24 20:39:19 +02:00
deploy Allow updating bookings 2024-04-25 20:27:08 +02:00
pkg Allow updating bookings 2024-04-25 20:27:08 +02:00
po “Finish” the new booking form 2024-04-24 20:19:13 +02:00
revert Allow updating bookings 2024-04-25 20:27:08 +02:00
test Allow updating bookings 2024-04-25 20:27:08 +02:00
verify Allow updating bookings 2024-04-25 20:27:08 +02:00
web Allow updating bookings 2024-04-25 20:27:08 +02:00
.gitignore Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
Makefile Send an email on notification of success payment 2024-02-13 05:20:35 +01:00
go.mod Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
go.sum Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
guix.scm Add Guix package definition 2024-01-28 18:12:38 +01:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan Allow updating bookings 2024-04-25 20:27:08 +02:00