numerus/web/template
jordi fita mas dbfa58699c Show the duplicate invoice form in a dialog
Had to add a new hidden field to the form to know whether, when the
request is HTMx-triggered, to refresh the page, as i do when duplicating
from the index, or redirect the client to the new invoice’s view page,
but only if i was duplicating from that same page, not the index.

Since i now have to target main when redirecting to the view page, so
i had to add a location structure with the required json fields and all
that, when “refreshing” i actually tell HTMx to open the index page
again, which seems faster, now that i am used to boosted links.
2023-04-04 14:39:55 +02:00
..
contacts Boost all breadcbrumb links 2023-04-02 16:10:13 +02:00
invoices Show the duplicate invoice form in a dialog 2023-04-04 14:39:55 +02:00
products Boost all breadcbrumb links 2023-04-02 16:10:13 +02:00
app.gohtml Add a SnackBar to show HTMx errors 2023-03-25 01:56:26 +01:00
dashboard.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00
form.gohtml Use .String in hidden-field template, so that it works for TagsField too 2023-03-28 10:01:41 +02:00
login.gohtml Use a “proper” struct for the login form 2023-02-01 11:02:32 +01:00
main.gohtml Add the <title> element for the “main” boosted pages 2023-03-26 13:57:24 +02:00
modal.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00
profile.gohtml Boost all breadcbrumb links 2023-04-02 16:10:13 +02:00
tax-details.gohtml Boost all breadcbrumb links 2023-04-02 16:10:13 +02:00
web.gohtml Add custom function to get the current locale from templates 2023-01-31 15:45:51 +01:00