On Dec 18, 2010, at 5:11 PM, pingu wrote:
HTML: <li>
<input id="current_client_id_3" name="current_client_id"
value="3" type="radio">
<label for="TestClientA"> TestClientA</label>
</li>
Here's one thing to fix. The 'for' attribute of a label must equal the
ID of the form element (if it exists) or the name attribute of the
form element if the ID does not exist. So in your example, the code
should be:
<li>
<input id="current_client_id_3"
name="current_client_id"
value="3" type="radio">
<label for="current_client_id_3"> TestClientA</label>
</li>
Walter
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
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.