2022-02-10 22:00:25 +00:00
|
|
|
.row{ data: { controller: 'non-geo', site: site.url } }
|
2024-07-20 18:21:03 +00:00
|
|
|
.d-none{ hidden: true, data: { 'non-geo-target': 'overlay' }}
|
2022-03-09 00:56:41 +00:00
|
|
|
.col-12.mb-3
|
|
|
|
%p.mb-0= post_label_t(attribute, post: post)
|
2022-03-09 00:54:25 +00:00
|
|
|
%p= post_label_t(attribute, post: post)
|
|
|
|
= render 'posts/attribute_feedback',
|
|
|
|
post: post, attribute: attribute, metadata: metadata
|
2022-02-01 20:11:00 +00:00
|
|
|
.col
|
|
|
|
.form-group
|
|
|
|
= label_tag "#{base}_#{attribute}_lat",
|
|
|
|
post_label_t(attribute, :lat, post: post)
|
|
|
|
= text_field(*field_name_for(base, attribute, :lat),
|
|
|
|
value: metadata.value['lat'],
|
|
|
|
**field_options(attribute, metadata),
|
2024-07-20 18:21:03 +00:00
|
|
|
data: { 'non-geo-target': 'lat' })
|
2022-02-01 20:11:00 +00:00
|
|
|
= render 'posts/attribute_feedback',
|
|
|
|
post: post, attribute: [attribute, :lat], metadata: metadata
|
|
|
|
.col
|
|
|
|
.form-group
|
|
|
|
= label_tag "#{base}_#{attribute}_lng",
|
|
|
|
post_label_t(attribute, :lng, post: post)
|
|
|
|
= text_field(*field_name_for(base, attribute, :lng),
|
|
|
|
value: metadata.value['lng'],
|
|
|
|
**field_options(attribute, metadata),
|
2024-07-20 18:21:03 +00:00
|
|
|
data: { 'non-geo-target': 'lng' })
|
2022-02-01 20:11:00 +00:00
|
|
|
= render 'posts/attribute_feedback',
|
|
|
|
post: post, attribute: [attribute, :lng], metadata: metadata
|
|
|
|
.col-12.mb-3
|
2024-07-20 18:21:03 +00:00
|
|
|
%div{ data: { 'non-geo-target': 'map' }, style: 'height: 250px' }
|