2022-10-24 17:42:24 +00:00
|
|
|
.form-group
|
|
|
|
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
|
|
|
|
= render 'posts/attribute_feedback',
|
|
|
|
post: post, attribute: attribute, metadata: metadata
|
|
|
|
|
2024-10-16 15:06:38 +00:00
|
|
|
.new-editor.content{ id: attribute, data: { controller: 'new-editor' } }
|
2023-02-01 20:12:27 +00:00
|
|
|
= text_area_tag "#{base}[#{attribute}]", metadata.to_s.html_safe,
|
2024-10-16 15:06:38 +00:00
|
|
|
dir: dir, lang: locale, 'data-new-editor-target': 'textarea',
|
2022-10-24 17:42:24 +00:00
|
|
|
**field_options(attribute, metadata), class: 'd-none'
|