2019-10-03 18:20:17 +00:00
|
|
|
.form-group
|
2020-11-27 22:32:16 +00:00
|
|
|
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
|
|
|
= text_area_tag "#{base}[#{attribute}]", metadata.value,
|
2020-05-23 19:34:45 +00:00
|
|
|
dir: dir, lang: locale,
|
2019-10-03 18:20:17 +00:00
|
|
|
**field_options(attribute, metadata)
|
|
|
|
= render 'posts/attribute_feedback',
|
|
|
|
post: post, attribute: attribute, metadata: metadata
|