Intro:
Using simple_form
in app, added validations to attributes and errors display properly next to each field in form. Also I have 2 custom validation that adds custom error messages not related to attributes of the model.
The problem:
In a basic rails form the errors are displayed above the form and also the ones from custom validation appears. But how can I show custom validation messages using simple_form
?