Does anyone know how I can put my inputs inside the label DIV?
Right now the code rendered is:
<div class="checkbox">
<input id="UserUser13" type="checkbox" value="13" checked="checked"
name="data[User][User][]"/>
<label class="selected" for="UserUser13">Perfect</label>
</div>
from this in the view :
<?php
echo $form->input(User,array('multiple'=>'checkbox','label'=>false));
?>
What I need is :
<div class="checkbox">
<label class="selected" for="UserUser13">
<input id="UserUser13" type="checkbox" value="13" checked="checked"
name="data[User][User][]"/>Perfect
</label>
</div>
I dont even care if the class=checkbox is there.
Thnaks
Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---