On Apr 22, 2007, at 17:40 , Damian wrote:
> I need to make a form with an id.
> How do I supply HTML attributes to form_remote_tag?
Stuff passed in the :html hash will be passed more or less directly
through to the HTML. So:
form_remote_tag(:html => {:id => "foo"}) should add
id="foo" to the
form tag.
--
Jakob Skjerning - http://mentalized.net
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---