Files
mozo-backend/app/views/suppliers/application/_error_messages.html.slim
T

8 lines
352 B
Plaintext

-if target.errors.any?
.alert.alert-error
button type="button" class="close" data-dismiss="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