hometown/app/views/shared/_error_messages.html.haml

4 lines
131 B
Plaintext

- if object.errors.any?
.flash-message#error_explanation
%strong= t('generic.validation_errors', count: object.errors.count)