You can use an array to specify label's tag attributes:

$form->input('Schedule.expected_check_in', array('label' =>
array('class' => 'input-label', 'text' => 'Expected Arrival', 'title'
=> 'When are you expecting to arrive at the place?')));

The 'text' key is the one to be used as the text, so the output would
be:

<div class="input text">
        <label for="ScheduleExpectedCheckIn" class="input-label"
title="When are you expecting to arrive at the place?">Expected
Arrival</label>
        [...]


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to