diff --git a/web/static/numerus.css b/web/static/numerus.css index ee6d835..573fb83 100644 --- a/web/static/numerus.css +++ b/web/static/numerus.css @@ -567,8 +567,15 @@ main > nav { } .new-invoice-product { - display: grid; - grid-template-columns: repeat(4, 1fr); + display: grid; + grid-template-columns: repeat(4, 1fr); + position: relative; +} + +.new-invoice-product .delete-product { + position: absolute; + right: 0; + top: .75rem; } .new-invoice-product .input:nth-of-type(5) { diff --git a/web/template/form.gohtml b/web/template/form.gohtml index 354db3a..6235c76 100644 --- a/web/template/form.gohtml +++ b/web/template/form.gohtml @@ -145,10 +145,15 @@ {{ define "invoice-product-form" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.invoiceProductForm*/ -}}
+ {{ template "hidden-field" .InvoiceProductId }} {{ template "hidden-field" .ProductId }} {{ template "input-field" .Name }}