2020-11-11 17:41:12 +00:00
|
|
|
.form-group
|
2020-11-27 22:32:16 +00:00
|
|
|
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
|
|
|
= text_field base, attribute, value: metadata.value,
|
2020-11-11 17:41:12 +00:00
|
|
|
dir: dir, lang: locale,
|
|
|
|
**field_options(attribute, metadata)
|
|
|
|
= render 'posts/attribute_feedback',
|
|
|
|
post: post, attribute: attribute, metadata: metadata
|