I am struggling a little bit with getting the correct select list generated
and was hoping to find some help here.
I have an action that accepts ids in this form:
/issues/index/1
I want to build an HTML select that can feed this controller. Here''s
what I
have so far:
<%= form_tag({:action => ''index''}, :method =>
"get")%>
<h2><span>Choose an Issue</span></h2>
<%= select(:issue, :id, @all_issues) %>
<input type="image" src="/aspen/img/btn/submit.gif"
value="Submit" />
<%= end_form_tag %>
The <select> has the correct ID numbers as the values for each item but
it''s
creating urls that look like this:
/issues?id%5B%5D=43&x=52&y=13
Can anyone point me in the right direction?
Thanks.
Hunter