I found that the validation error is coming for f.label as well.
Why is this happening? if i remove f.label and put not text without
using label tag, it is only coming once for text input.

Anybody there...

On Jan 12, 12:33 pm, venkata reddy <[email protected]> wrote:
> say for instance,
>                        i have avalidationon
> validates first_name, :presence => true
>
>                                             ----------------------
> First Name:   can't be blank   |                      |   can't be
> blank
>                                             ----------------------
>
> :) so like above, theerrormessage coming twice beside the input
> field, if thevalidationfails.
>
> On Jan 11, 7:58 pm, Tim Shaffer <[email protected]> wrote:
>
>
>
>
>
>
>
> > What does your view look like? Do you have anyerrormessage related code
> > in there?
>
> > What does the output HTML look like? Is theerrormessage 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to