Javi Martín
882cc85532
Move geozones index view to a component
...
This way we simplify the header and it will be easier to add more code
and tests.
2023-05-29 17:46:04 +02:00
Javi Martín
c6c09074df
Move geozone form partial to a component
...
That way it'll be easier to refactor it.
2023-05-29 17:46:04 +02:00
Javi Martín
8c1140a1bf
Use semantic HTML classes in table actions
...
Note the CSS could probably be improved to avoid duplication with other
button style definitions. However, that's fine because we're going to
change the style of the links soon.
For the same reason, I haven't bothered to style every single link the
way it was until now.
2020-11-03 14:58:02 +01:00
Javi Martín
10c095d821
Move table actions partial to a component
...
This partial was going to get too complex since in some places we've got
different texts, different URLs or different confirmation messages.
While we should probably try to be more consistent and that would make
the partial work in most cases, there'll always be some exceptions, and
using a partial (with, perhaps, some helper methods) will become messy
really quickly.
2020-10-19 18:56:02 +02:00
Javi Martín
4e60424678
Extract partial for edit and destroy links
2020-10-19 18:48:01 +02:00
Javi Martín
8ff728ee83
Use the shared partial to render errors
...
We were using it most of the time, but in some places we still had
duplicated code.
2019-10-25 15:15:47 +02:00
Javi Martín
4a19bb6b77
Simplify generating fields with hints
...
We were already using this code in translatable forms. Using it on every
form means we can reduce the code we need to generate a field with a
hint.
2019-10-06 18:03:38 +02:00
Julian Herrero
0bb2633c7a
Use double quotes in app/views/admin
2019-03-19 12:16:50 +01:00
decabeza
a2eea842cb
Improve i18n on admin
2019-03-13 15:34:50 +01:00
Julian Herrero
085a01a493
improve action buttons aspect for small screens
2018-11-08 16:45:50 +01:00
decabeza
defc04a5dc
Unifies styles and views for admin geozones
2018-07-31 12:54:25 +02:00
decabeza
0b235d69d4
adds consistency for back links
2017-07-26 18:18:30 +02:00
decabeza
9dca1940ab
fixes admin geozones tables
2017-05-25 11:12:09 +02:00
Alberto Miedes Garcés
60da2a875b
CRUD html_map_coordinates geozone attribute
2016-12-08 16:50:36 +01:00
Alberto Miedes Garcés
93e79228a7
Ability to delete geozones from admin dashboard
2016-12-08 13:16:42 +01:00
Alberto Miedes Garcés
fea2009396
Ability to edit geozones from admin dashboard
2016-12-07 22:08:22 +01:00
Alberto Miedes Garcés
6175990533
Admin geozones: index, create
...
Modified Geozone factory and seeds to be more complete
2016-12-04 21:19:36 +01:00