7 lines
300 B
Plaintext
7 lines
300 B
Plaintext
-if target.errors.any?
|
|
.alert.alert-error.alert-box.alert
|
|
h4 data-t="helpers.forms.errors.title" data-t-attributes=%[{"count":#{target.errors.count}}] = t('helpers.forms.errors.title', :count => target.errors.count)
|
|
ul
|
|
- for message in target.errors.full_messages
|
|
li= message
|