mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 03:36:21 +00:00
19 lines
751 B
Text
19 lines
751 B
Text
.row
|
|
.col
|
|
.form-group
|
|
= label_tag "post_#{attribute}_lat",
|
|
post_label_t(attribute, :lat, post: post)
|
|
= text_field(*field_name_for('post', attribute, :lat),
|
|
value: metadata.value['lat'],
|
|
**field_options(attribute, metadata))
|
|
= render 'posts/attribute_feedback',
|
|
post: post, attribute: [attribute, :lat], metadata: metadata
|
|
.col
|
|
.form-group
|
|
= label_tag "post_#{attribute}_lng",
|
|
post_label_t(attribute, :lng, post: post)
|
|
= text_field(*field_name_for('post', attribute, :lng),
|
|
value: metadata.value['lng'],
|
|
**field_options(attribute, metadata))
|
|
= render 'posts/attribute_feedback',
|
|
post: post, attribute: [attribute, :lat], metadata: metadata
|