How to display errors[:base] in SimpleForm?
In my model on the validate I have the following line:
errors[:base] << I18n.translate('shop.anti_spam')
In the view however it displays that there is a problem, but this line
never appears. How can I make sure this line appears? Now it just give me
this message:
en:
simple_form:
error_notification:
default_message
Which is good if there are fields not correctly filled in, but not for an
error message concerning the whole model.
No comments:
Post a Comment