[Rails] Re: displaying rails form validation errors inline
say for instance,
i have a validation on
validates first_name, :presence => true
----------------------
First Name: can't be blank | | can't be
blank
----------------------
:) so like above, the error message coming twice beside the input
field, if the validation fails.
On Jan 11, 7:58 pm, Tim Shaffer <timshaf...@me.com> wrote:
> What does your view look like? Do you have any error message related code
> in there?
>
> What does the output HTML look like? Is the error message repeated in the
> HTML?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home