I'm using the Simple_form gem in a Rails project, which someone was working on before I came on the scene, so I'm not too familiar with it.
Where can I change the position where my error message is displayed? At present they appear underneath the textbox, like so:
Basically, whereabouts in my Rails project is it being told, 'display the error message under the textbox?'
I can see:
<%= f.input :name, :required => true, :label_html => { :class => 'edit_form_titles' }, :error_html => { :class => 'cant_be_blank'} %>
but no matter what I do to that code, it still leaves a space under the text box. I want the message to appear on top, with no space under the text box. There is a file simple_form.rb in my initializers folder, which probably deals with it, but not sure where to look or what to change. It's simple_form 2.0.2.