Don't pass unused parameter to map location fields partial
We don't use this parameter since commit c34aa5412.
This commit is contained in:
@@ -50,8 +50,7 @@
|
||||
form: f,
|
||||
map_location: investment.map_location || MapLocation.new,
|
||||
label: t("budgets.investments.form.map_location"),
|
||||
help: t("budgets.investments.form.map_location_instructions"),
|
||||
i18n_namespace: "budgets.investments" %>
|
||||
help: t("budgets.investments.form.map_location_instructions") %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -58,8 +58,7 @@
|
||||
form: f,
|
||||
map_location: proposal.map_location || MapLocation.new,
|
||||
label: t("proposals.form.map_location"),
|
||||
help: t("proposals.form.map_location_instructions"),
|
||||
i18n_namespace: "proposals" %>
|
||||
help: t("proposals.form.map_location_instructions") %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user