mardi 12 juillet 2016

How to display validation error inside of an input field?

In my rails app I'm using simple_form. I need to get the error messages in the input field instead of it being displayed on the side, like the image shown below.

enter image description here

How can I do this?

Aucun commentaire:

Enregistrer un commentaire