Files
mozo-backend/app/views/suppliers/application/_error_messages.html.slim
T
2014-04-18 20:38:13 +02:00

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