Displaying 1 result from an estimated 1 matches for "email_error".
Did you mean:
mail_error
2009 Jun 28
2
validation error messages in Form - how to disable the ActionView::Base.field_error_proc ?
I wrote the following code in my form view :
<li><label for="email">Email</label>
<%= form.text_field :email, :size => "30" %>
<span id=''email_error'' class=\''warning-text warning-text-indent\''><%=
@user.errors.on(:email) %></span></li>
the generated html code is the following :
<span class="field-with-errors"><input type="text" value="" size="30"...