numerus/web/template
jordi fita mas 7d895fe5f9 Use HTMx to add product rows “inline” in the invoice form
I actually find more comfortable to select the product from the list
presented up until now, but this is mostly because i have very few
products and the list is not too long, so the idea is that with
JavaScript we will dynamically add an empty product row to the invoice
and then use the name field to search the product by name.

I have the feeling that i am doing something wrong because i ended up
with a lot of HTMx attribute for what i feel is not that much work,
but for now it will work.

I have added the `Is` field to `InputField` in order to include the `id`
attribute to the HTML element, because the HTMLAttributes are attached
to the `input`, not the `div`, and i felt like this one should also be
a custom element based on div, like all the others.

These is not yet any keyboard control to select the search results.

I am not happy with having the search of products in a different URL
than the index, specially since they use the exact same SQL query and
ProductFilter struct, but i did not know how else ask for a different
representation without resorting to the more complicated MIME types.
2023-04-24 02:00:38 +02:00
..
contacts Boost all breadcbrumb links 2023-04-02 16:10:13 +02:00
invoices Use HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +02:00
products Use HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +02:00
tags Allow editing invoice tags inline from the index table 2023-04-11 10:46:27 +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 HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +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