2020-11-18 12:10:21 +00:00
|
|
|
.form-group.markdown-content
|
2020-11-27 22:32:16 +00:00
|
|
|
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
2020-05-23 19:34:45 +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-11-18 12:10:21 +00:00
|
|
|
dir: dir, lang: locale,
|
|
|
|
**field_options(attribute, metadata, class: 'content')
|
|
|
|
.markdown-editor.mt-1
|