how to get value from partial

Shouldn't the select field in the partial be part of the form? IE:
<%= form.select "camp", "id", @resultset %>

Notice the "<%= form.select" in comparison to the original "<
%=select".

Hope that helps.
-Nick

Nick wrote:

Shouldn't the select field in the partial be part of the form? IE:
<%= form.select "camp", "id", @resultset %>

Notice the "<%= form.select" in comparison to the original "<
%=select".

Hope that helps.
-Nick

<%= form.select "camp", "id", @resultset %> is an error coz the word
form is no where to be found in the _campsites.rhtml. I tried using
<%form_for :cart do |form|%><%end%> in partial file as well, but that
stopped the updating of the <div> with this partial. So, couldn't get
thru..