Add missing specs from Maps on New, Edit and Show.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
7b54451491
commit
51c53b6f31
@@ -4,6 +4,9 @@
|
||||
<%= render_map(map_location, parent_class, editable = true, remove_marker_label) %>
|
||||
|
||||
<%= form.fields_for :map_location, map_location do |m_l_fields| %>
|
||||
<%= m_l_fields.hidden_field :id,
|
||||
value: map_location.id,
|
||||
id: map_location_input_id(parent_class, 'id') %>
|
||||
<%= m_l_fields.hidden_field :latitude,
|
||||
value: map_location.latitude,
|
||||
id: map_location_input_id(parent_class, 'latitude') %>
|
||||
@@ -13,4 +16,4 @@
|
||||
<%= m_l_fields.hidden_field :zoom,
|
||||
value: map_location.zoom,
|
||||
id: map_location_input_id(parent_class, 'zoom') %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user