Hello all! I need to make a form with an id. How do I supply HTML attributes to form_remote_tag?
Yours sincerely, Damian/Three-eyed Fish
Hello all! I need to make a form with an id. How do I supply HTML attributes to form_remote_tag?
Yours sincerely, Damian/Three-eyed Fish
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.