I did try with class= instead of id=, but I get the exact same result
On Feb 4, 11:01 pm, Phlip <[email protected]> wrote:
> > I am using the form_tag_helper to create a form, but I want to give it
> > an ID so I can style the elements within the form. I currently have
> > the following:
>
> Style things with classes unless you must use IDs. I can't think of a reason.
>
> Rails is so flexible that, before you know it, you will be cloning this form
> and
> en-partialling it into your page more than once, and IDs must be unique to
> their
> document...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---