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,
|
form: f,
|
||||||
map_location: investment.map_location || MapLocation.new,
|
map_location: investment.map_location || MapLocation.new,
|
||||||
label: t("budgets.investments.form.map_location"),
|
label: t("budgets.investments.form.map_location"),
|
||||||
help: t("budgets.investments.form.map_location_instructions"),
|
help: t("budgets.investments.form.map_location_instructions") %>
|
||||||
i18n_namespace: "budgets.investments" %>
|
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|||||||
@@ -58,8 +58,7 @@
|
|||||||
form: f,
|
form: f,
|
||||||
map_location: proposal.map_location || MapLocation.new,
|
map_location: proposal.map_location || MapLocation.new,
|
||||||
label: t("proposals.form.map_location"),
|
label: t("proposals.form.map_location"),
|
||||||
help: t("proposals.form.map_location_instructions"),
|
help: t("proposals.form.map_location_instructions") %>
|
||||||
i18n_namespace: "proposals" %>
|
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user