Make form have an id

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

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 S. - http://mentalized.net

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs