I have the following line of code in my view:
<?php echo $form->input('Preview.id'); ?>
In 1.2 RC3 this used to generate the following html:
<input type="hidden" name="data[Preview][id]" value="" id="PreviewId" /
>
But in 1.2 final it generates the following HTML:
<div class="input text"><label for="PreviewId">Id</label><input
name="data[Preview][id]" type="text" value="" id="PreviewId" /></div>
Why? I have this in many places.
I now have to change my code to
<?php echo $form->input('Preview.id', array('type'=>'hidden')); ?>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---