numerus/web/template
jordi fita mas 8529da1615 Use HTMx to delete and restore invoice products
It is better that way because it works without JavaScript; if HTMx is
not available, it will just use regulars forms.

The problem is that most of the submit buttons where using formaction
to send the request to a different action, and only one button was the
“real” action.  Since i could not pass the formaction to
invoice-product-form template, i have changed the “default” action to
the one with “ancillary” functions.

I have to use a different action to remove for each product because i
can not pass the index to the backend without JavaScript: it only
depends on the button click, that already has a name for the action.
Thus, in a way, i have “merged” the action and the index in a single
name.
2023-05-29 00:01:11 +02:00
..
contacts Use “Save” for all submit buttons of new/edit forms 2023-05-26 13:38:04 +02:00
expenses Use “Save” for all submit buttons of new/edit forms 2023-05-26 13:38:04 +02:00
invoices Use HTMx to delete and restore invoice products 2023-05-29 00:01:11 +02:00
products Use “Save” for all submit buttons of new/edit forms 2023-05-26 13:38:04 +02:00
tags Add inline tag form for expenses 2023-05-08 12:58:54 +02:00
app.gohtml Toggle filters forms 2023-05-24 12:13:09 +02:00
dashboard.gohtml Wrap filter buttons with <noscript> 2023-05-23 14:34:46 +02:00
form.gohtml Use HTMx to delete and restore invoice products 2023-05-29 00:01:11 +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
standalone.gohtml Allow editing invoice tags inline from the index table 2023-04-11 10:46:27 +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