By default, simple_form generates error messages in this form:
<span class="error">"error_text"</span>
but what i need is something like:
<span class="error" title="error_text"></span>
so it would just be a span with a background image, showing error message when you hover on it
I studied answers for this ( Customize error message with simple_form) question, but it didn’t seem to contain what I need: accepted answer suggests to customize config/initializers/simple_form.rb . But I couldn’t find how exactly you could do it from there, it just allows to change tag containing error meassage, it’s class and which message to display.
This is how my colleague (MORE experienced) handled this: