Hi bakers

I'm creating a habtm list of checkboxes like this:

echo $form->input('User', array('multiple'=>'checkbox', 'label'=>''));

which works brilliantly.   Now i'd like to enhance it by adding a
class name to each input based on the user group.  Is that possible
whilst still using the automagical method?  maybe somthing along the
lines of 'class' => 'User.group' ?

I'd probably also like to have the labels read

Jo Blogs (j...@blogsunited.com)

as well, is that best handled by manualy creating the list in the
controller to make the label like that? even if the bit in brackets is
a bit grey? its slightly viewish for that, but i can't see how else to
do it.

 Thanks

Will

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to