Javi Martín
a145fdb8a8
Make map location HTML class names consistent
...
We were using `map_location` in one place and
`location-map-remove-marker` in another one. We usually use dashes in
HTML class names, we don't say "location map" anywhere else.
2023-05-04 15:32:33 +02:00
Javi Martín
deb965bcce
Remove editable parameter in render_map
...
The calls to `render_map` are confusing since there are so many
parameters. We can assume that the map is editable if we pass the remove
marker label.
2023-05-04 15:27:15 +02:00
Javi Martín
19adae993e
Simplify method names in map component
...
Since we aren't using helpers anymore, we don't need the `map_location`
prefix.
2023-05-04 15:27:15 +02:00
Javi Martín
9cc3c553ff
Extract component to render a map
...
This way it'll be easier to refactor it.
2023-05-04 15:27:15 +02:00