Displaying 1 result from an estimated 1 matches for "hotel_".
Did you mean:
hotel
2007 Jul 31
1
check all - check box problem
...k box
or button that checks and unchecks all the check boxes.
<form name="czar" action=''<%= url_for(:action => "list_supplier") %>''
method=''POST''>
<% i = 0 %>
<% @hotels.each do |hotel| %>
<%= check_box(''hotel_'', '''', {}, hotel.group_name+i.to_s, '''') %></td>
<% i = i + 1 %>
<% end %>
<input type=''submit'' value=''want to approve''/>
thanks in advance,
Czar
--~--~---------~--~----~------------~-----...