diff --git a/app/components/budgets/investments/form_component.html.erb b/app/components/budgets/investments/form_component.html.erb
index 05826600d..240bf2117 100644
--- a/app/components/budgets/investments/form_component.html.erb
+++ b/app/components/budgets/investments/form_component.html.erb
@@ -44,15 +44,11 @@
<%= render Documents::NestedComponent.new(f) %>
<% end %>
- <% if feature?(:map) %>
-
- <%= render "map_locations/form_fields",
- form: f,
- map_location: investment.map_location || MapLocation.new,
- label: t("budgets.investments.form.map_location"),
- help: t("budgets.investments.form.map_location_instructions") %>
-
- <% end %>
+ <%= render "map_locations/form_fields",
+ form: f,
+ map_location: investment.map_location || MapLocation.new,
+ label: t("budgets.investments.form.map_location"),
+ help: t("budgets.investments.form.map_location_instructions") %>
<%= f.text_field :location %>
diff --git a/app/components/proposals/form_component.html.erb b/app/components/proposals/form_component.html.erb
index c115de81c..b3db02571 100644
--- a/app/components/proposals/form_component.html.erb
+++ b/app/components/proposals/form_component.html.erb
@@ -52,15 +52,11 @@
<% end %>
- <% if feature?(:map) %>
-
- <%= render "map_locations/form_fields",
- form: f,
- map_location: proposal.map_location || MapLocation.new,
- label: t("proposals.form.map_location"),
- help: t("proposals.form.map_location_instructions") %>
-
- <% end %>
+ <%= render "map_locations/form_fields",
+ form: f,
+ map_location: proposal.map_location || MapLocation.new,
+ label: t("proposals.form.map_location"),
+ help: t("proposals.form.map_location_instructions") %>
<%= f.label :tag_list, t("proposals.form.tags_label") %>
diff --git a/app/views/map_locations/_form_fields.html.erb b/app/views/map_locations/_form_fields.html.erb
index 403368b1b..59efd6489 100644
--- a/app/views/map_locations/_form_fields.html.erb
+++ b/app/views/map_locations/_form_fields.html.erb
@@ -1,10 +1,14 @@
-<%= form.label :map_location, label %>
-
<%= help %>
+<% if feature?(:map) %>
+
+ <%= form.label :map_location, label %>
+
<%= help %>
-<%= form.fields_for :map_location, map_location do |m_l_fields| %>
- <%= render_map(map_location, form: m_l_fields) %>
+ <%= form.fields_for :map_location, map_location do |m_l_fields| %>
+ <%= render_map(map_location, form: m_l_fields) %>
- <%= m_l_fields.hidden_field :latitude %>
- <%= m_l_fields.hidden_field :longitude %>
- <%= m_l_fields.hidden_field :zoom %>
+ <%= m_l_fields.hidden_field :latitude %>
+ <%= m_l_fields.hidden_field :longitude %>
+ <%= m_l_fields.hidden_field :zoom %>
+ <% end %>
+
<% end %>