Emil,
form_tag( { :action => 'do_something' }, { :id => 'my_id' } )
Also, if you're on Rails 1.2 use the block version:
<% form_tag(...) do %> ... <% end %>
Hope this helps.
Emil,
form_tag( { :action => 'do_something' }, { :id => 'my_id' } )
Also, if you're on Rails 1.2 use the block version:
<% form_tag(...) do %> ... <% end %>
Hope this helps.