Simple_form: Change the default error message with simple_form

Created on 10 Mar 2013  路  4Comments  路  Source: heartcombo/simple_form

I don't manage to change the default error message from simple form, i tried to edit the simple form locale file but it seems to be ignored

Here is my locale file:

#config/locales/simple_form.en.yml
en:
  simple_form:
    error_notification:
      default_message: "A custom message:"

But i still get "Please review the problems below:"

Do you have any idea what i could be doing wrong ?

P.S: Using simple_form 2.0.4

Thanks for your help, Vincent.

Most helpful comment

I have the same problem here

All 4 comments

According to this test, it should work fine. Have you tried restarting the server just for the sake of testing? Other than that, I can't think of anything else that could be causing this off the top of my head.

@vdaubry I've just tried to reproduce it with a new rails app and SimpleForm 2.0.4 with no success. Closing this for now but if you can provide a sample application that reproduces this issue it would be great. Thanks.

I have the same problem here

Same issue here, and I can't wrap my head around why this doesnt work.
I opened a new issue : https://github.com/heartcombo/simple_form/issues/1718

Usingsimple_form (4.1.0)

Was this page helpful?
0 / 5 - 0 ratings