5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 09:36:23 +00:00
panel/app/views/posts/_attribute_feedback.haml
2019-08-23 15:29:07 -03:00

7 lines
285 B
Text

%small.feedback.form-text.text-muted{ id: id_for_help(*attribute) }
= post_help_t(*attribute, post: post)
.invalid-feedback{ id: id_for_feedback(*attribute) }
- if metadata.required
= t('posts.attributes.required.feedback')
- metadata.errors.try :each do |error|
= error