search for: parameters_for_url

Displaying 5 results from an estimated 5 matches for "parameters_for_url".

2005 Sep 13
6
form_tag & form_remote_tag html id attribute
Hello, Is there a way to set the html element id for the form_tag and form_remote_tag on the server side? I want to have this resultant html... <form id=''something'' ... ... </form> Thank you, Brian Takita
2006 Mar 21
4
Using onSubmit tag in form_tag?
...f an option, so what I tried next was something like: <%= start_form_tag {:action => ''Add''}, {:onSubmit => ''validate()''} %> Sadly that doesn''t compile. From rubydocs the syntax for form_tag is form_tag(url_for_options = {}, options = {}, *parameters_for_url), so how do I specify the options that I''d want as in this case? Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Mar 23
2
newbie - form_tag with get?
I can''t create a form with method "get". The rhtml code: <%= form_tag :controller => ''teritory'', :action => ''add'', :method => ''get'' %> The generated html code: <form action="/teritory/add?method=get" method="post"> What i''m doing wrong? -- They say money can''t
2006 Feb 26
1
Help with ruby=>html
...to ruby and rails and got problems with using basic methods like form_tag or link_to etc to create what i need, i.e. to specify css class or id or name of html elements. I have problem with understanding rails api (it''s just as an example): form_tag(url_for_options = {}, options = {}, *parameters_for_url) what parameters can i pass to form_tag? How to specify class, name or id (those are things i need most)? If someone could clarify the notation used here i''d be very grateful. -- Posted via http://www.ruby-forum.com/.
2006 Jul 09
4
Search terms in URL
I have set up a ferret search using the examples in the demo app. Is it possible to have the search terms included in the URL, so that, for example, users can bookmark a search results page ? Chris -- Posted via http://www.ruby-forum.com/.