Displaying 1 result from an estimated 1 matches for "anyknow".
Did you mean:
  anyknows
  
2009 Apr 18
3
Create CheckBox
Hai,
I want to create a checkbox the values are table field values. In my
controller
  @emptypes = Emptypes.find(:all)
In View
  <% @emptypes.each do |c| %>
  #Write checkbox generating code here
    <%= check_box("contacts",emptypes.types)%>
  <%end%>
 Anyknows please suggest me how to create a checkbox (values are
retrived from table).
-with Thanking&Regards
devi.r
-- 
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on...