sutty/app/views/posts/_attribute_feedback.haml

8 lines
281 B
Text
Raw Permalink Normal View History

%small.feedback.form-text.text-muted{ id: id_for_help(*attribute) }
= post_help_t(*attribute, post: post)
2019-08-23 18:29:07 +00:00
.invalid-feedback{ id: id_for_feedback(*attribute) }
- if metadata.required
= t('posts.attributes.required.feedback')
2020-10-04 00:32:32 +00:00
- metadata.errors&.each do |error|
2019-08-23 18:29:07 +00:00
= error