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:
@@ -1,4 +1,4 @@
|
||||
<div class="map inline">
|
||||
<h2><%= t("budgets.index.map") %></h2>
|
||||
<%= render_map(nil, "budgets", false, nil, coordinates) %>
|
||||
<%= render_map(nil, "budgets", nil, coordinates) %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user