<%= form_tag({:action => 'getrate', :controller => 'users'},{:method => 
:post}) do %>
        <br><br>
          *<% @eachskill.each do |loc| %>*
            <%= submit_tag  loc ,:type => "button", :id => loc ,:disabled 
=>"disabled", :class => "btn span2" %>
            &nbsp;
            <%= select_tag( loc, 
"<option></option><option>1</option><option>2</option><option>3</option><option>4</option><option>5</option>".html_safe,:class
 
=> "span1")%>
            <br>
          *<% end %>*
          <%= submit_tag "Rate", :class => "btn" %>
 <% end %>

Here i need to get all the values from select_tag,  into the controller, 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/KaFYFB-MJpEJ.
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.

Reply via email to