I’m wondering why $this->Form->select() in CakePHP 2.1 doesn’t come with a wrapping div and label.
Do I have to wrap it by myself like:
<?php
echo '<div><label for="MyModel">MyModel</label>';
echo $this->Form->select('MyModel', $options, array('empty' => 'choose one'));
echo '</div>';
?>
that’s why I never ever use anything else than
in your case:
no need to ever use select(), text() etc