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.
This commit is contained in:
Javi Martín
2023-03-07 15:59:24 +01:00
parent 19adae993e
commit deb965bcce
7 changed files with 13 additions and 10 deletions

View File

@@ -42,7 +42,7 @@
<% if feature?(:map) && map_location_available?(@proposal.map_location) %>
<div class="margin">
<%= render_map(@proposal.map_location, "proposal", false, nil) %>
<%= render_map(@proposal.map_location, "proposal", nil) %>
</div>
<% end %>