Still can't get it to work. I've tried this on my search form:
<% form_tag(params.merge(:page => 1, :numteams => 20), :method
=> 'get') do %>
<%= hinted_text_field_tag :search, params[:search], "Enter
Team" %>
<%= submit_tag "Team Search", :name => nil %>
<% end %>
but if I click search, it removes all other params from the URL and goes
back to ?search=team
Still not sure what to do with form_tags and params.merge. I have it
working for everything but forms..
Anyone?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---