Hi,
I want to use label_for() to label radio buttons.
As far as I see there is a mistake in the FormHelper:
While name[] might make sense for checkboxes I don't see any for radio
buttons.
get_id_from_name() doesn't create an appropriate id with
radiobutton_tag()
radiobutton_tag('gender', 'm'); should outout:
<input id="gender_m" type="radio" value="m" name="gender"/>
instead of
<input id="gender" type="radio" value="m" name="gender"/>
What do you think?
Regards,
Matthias
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---