I use the same model in two views (containing forms), and I want to provide different validation messages for each view. Example:
View 1:
Please fill in this bla bla
View 2:
Fill in foo foo
I followed the i18n manuals to override the default error messages for the model, but I cannot find a way to differentiate them for each view.
Is it possible?
source
share