2020-05-26 22:26:19 +00:00
|
|
|
.form-group.markdown-content
|
2020-11-27 22:32:16 +00:00
|
|
|
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
2021-06-19 14:59:37 +00:00
|
|
|
= render 'posts/attribute_feedback',
|
|
|
|
post: post, attribute: attribute, metadata: metadata
|
2020-11-27 22:32:16 +00:00
|
|
|
= text_area_tag "#{base}[#{attribute}]", metadata.value,
|
2020-05-26 22:26:19 +00:00
|
|
|
dir: dir, lang: locale,
|
|
|
|
**field_options(attribute, metadata, class: 'content')
|
2021-06-19 14:59:37 +00:00
|
|
|
.markdown-editor.mt-1
|