Add class=filters to filters forms
This commit is contained in:
parent
9096cfe4f2
commit
d2a06dd1c0
|
@ -19,7 +19,7 @@
|
|||
{{ define "content" }}
|
||||
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.ContactsIndexPage*/ -}}
|
||||
<div aria-label="{{( pgettext "Filters" "title" )}}">
|
||||
<form method="GET" action="{{ companyURI "/contacts"}}"
|
||||
<form class="filters" method="GET" action="{{ companyURI "/contacts"}}"
|
||||
data-hx-target="main"
|
||||
data-hx-boost="true"
|
||||
data-hx-trigger="change,search,submit"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
{{ define "content" }}
|
||||
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.expensesIndexPage*/ -}}
|
||||
<div aria-label="{{( pgettext "Filters" "title" )}}">
|
||||
<form method="GET" action="{{ companyURI "/expenses"}}"
|
||||
<form class="filters" method="GET" action="{{ companyURI "/expenses"}}"
|
||||
data-hx-target="main" data-hx-boost="true" data-hx-trigger="change,search,submit"
|
||||
>
|
||||
{{ with .Filters }}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
{{ define "content" }}
|
||||
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.InvoicesIndexPage*/ -}}
|
||||
<div aria-label="{{( pgettext "Filters" "title" )}}">
|
||||
<form method="GET" action="{{ companyURI "/invoices"}}" data-hx-target="main" data-hx-boost="true"
|
||||
<form class="filters" method="GET" action="{{ companyURI "/invoices"}}" data-hx-target="main" data-hx-boost="true"
|
||||
data-hx-trigger="change,search,submit">
|
||||
{{ with .Filters }}
|
||||
{{ template "select-field" .Customer }}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
{{ define "content" }}
|
||||
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.productsIndexPage*/ -}}
|
||||
<div aria-label="{{( pgettext "Filters" "title" )}}">
|
||||
<form method="GET" action="{{ companyURI "/products"}}"
|
||||
<form class="filters" method="GET" action="{{ companyURI "/products"}}"
|
||||
data-hx-target="main"
|
||||
data-hx-boost="true"
|
||||
data-hx-trigger="change,search,submit"
|
||||
|
|
Loading…
Reference in New Issue