Javi Martín
c9362ffeb4
Add filter by goal
2020-12-21 18:27:27 +01:00
Javi Martín
a9427f5971
Allow custom options in search form component
...
So we keep the same API as the form_tag method.
2020-12-04 19:57:05 +01:00
Javi Martín
0a3acf3c5f
Use a shared translation for search buttons
...
We were writing the same text over and over for the same translations.
Since they all serve the same function, it's perfectly fine for them to
have the same text, and so we can have a shared translation.
2020-12-04 19:57:05 +01:00
Javi Martín
49c22b880c
Use CSS to style the search component
...
We simplify the view, and so make it easier to customize.
2020-12-04 19:57:05 +01:00
Javi Martín
b453ed6c14
Add ARIA role and ARIA label to admin search form
...
This way screen reader users will have an easier access to it.
2020-12-04 19:57:05 +01:00
Javi Martín
155da08cf0
Use a generic name for the search parameter
...
This way we can use it for any model.
2020-12-04 19:57:05 +01:00
Javi Martín
9a24a8efe2
Use form_tag in search form
...
This form does not depend on an object at all, so we can use a generic
tag which is model-independent.
2020-12-04 19:57:05 +01:00
Javi Martín
2cf49b28de
Extract users search view to a component
...
We're going to make this search component more generic, but for now,
we're keeping the exact same behavior we had.
2020-12-04 19:57:05 +01:00