class SimpleForm::FormBuilder
def error_notification(options = {})
f.error_notification id: 'user_error_message', class: 'form_error'
f.error_notification message: 'Something went wrong'
f.error_notification
== Examples
passed straight as html options to the html tag.
otherwise it will look for a message using I18n. All other options given are
has some error. You can give a specific message with the :message option,
Creates an error notification message that only appears when the form object
def error_notification(options = {}) SimpleForm::ErrorNotification.new(self, options).render end