Simplify method names in map component

Since we aren't using helpers anymore, we don't need the `map_location`
prefix.
This commit is contained in:
Javi Martín
2023-03-06 17:40:42 +01:00
parent 9cc3c553ff
commit 19adae993e
2 changed files with 13 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
<%= tag.div(id: dom_id(map_location), class: "map_location map", data: prepare_map_settings) %>
<%= tag.div(id: dom_id(map_location), class: "map_location map", data: data) %>
<% if editable %>
<%= map_location_remove_marker %>
<%= remove_marker %>
<% end %>