Displaying 1 result from an estimated 1 matches for "light_id".
Did you mean:
right_id
2006 Apr 04
0
radio_button in a loop not working
Hi!
I''m a RoR newbie and i''m trying to make this sample code work...
I must be able to choose whether or not to switch lights on/off (one
light per line)
<table>
<% @valeurs.each do |@v| %>
<tr>
<td>Light <%= Light.find(@v.light_id).nom %>:</td>
<td><%= radio_button(''v[]'', ''etat'', "Off") %> Off</td>
<td><%= radio_button(''v[]'', ''etat'', "On") %> On</td>
<td>Intensite :<%...