adds map validations
This commit is contained in:
@@ -16,4 +16,17 @@
|
||||
<%= m_l_fields.hidden_field :zoom,
|
||||
value: map_location.zoom,
|
||||
id: map_location_input_id(parent_class, 'zoom') %>
|
||||
|
||||
<div>
|
||||
<%= form.label :skip_map do %>
|
||||
<%= form.check_box :skip_map,
|
||||
title: t("proposals.form.map_skip_checkbox"),
|
||||
label: false,
|
||||
class: 'js-toggle-map' %>
|
||||
<span class="checkbox">
|
||||
<%= t("proposals.form.map_skip_checkbox") %>
|
||||
</span>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user