Hey everyone,
I'm trying to style a form a certain way and need to be able to style
a label, so I am using the following code
<?php echo $form->label('Employee/name','Employee Name',
array('class'=>'prefield'));?>
<?php echo $form->input('Employee/name',array('label'));?>
The problem is, is that the $form->input is still generating the label
so my output looks like
Employee Name
name | this represents my text box |
when I need
Employee Name
| this represents my text box |
Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---