diff --git a/app/views/map_locations/_form_fields.html.erb b/app/views/map_locations/_form_fields.html.erb index 3f8233f43..072fc82ff 100644 --- a/app/views/map_locations/_form_fields.html.erb +++ b/app/views/map_locations/_form_fields.html.erb @@ -4,7 +4,7 @@ <%= form.fields_for :map_location, map_location do |m_l_fields| %> <%= render_map(map_location, remove_marker_label: remove_marker_label, form: m_l_fields) %> - <%= m_l_fields.hidden_field :latitude, value: map_location.latitude %> - <%= m_l_fields.hidden_field :longitude, value: map_location.longitude %> - <%= m_l_fields.hidden_field :zoom, value: map_location.zoom %> + <%= m_l_fields.hidden_field :latitude %> + <%= m_l_fields.hidden_field :longitude %> + <%= m_l_fields.hidden_field :zoom %> <% end %>