Displaying 1 result from an estimated 1 matches for "emptyp".
Did you mean:
empty
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&Regard...