2019-10-03 18:20:17 +00:00
|
|
|
.form-group
|
|
|
|
= label_tag "post_#{attribute}", post_label_t(attribute, post: post)
|
|
|
|
= text_area_tag "post[#{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
|