7 lines
311 B
Plaintext
7 lines
311 B
Plaintext
![]() |
.form-group{ class: invalid(post, attribute) }
|
||
|
= label_tag "post_#{attribute}", post_label_t(attribute, post: post)
|
||
|
= render 'posts/attribute_feedback',
|
||
|
post: post, attribute: attribute, metadata: metadata
|
||
|
= text_area_tag "post[#{attribute}]", metadata.value,
|
||
|
**field_options(attribute, metadata)
|