I'm creating my first real form with cake. I'm using the html helper
and the form helper.

I have the following code snippet in my view:
<?=$form->labelTag('User/username', 'Username:')?>
<?=$html->input('User/username', array('size'=>'30'))?>

Here is what I get:
<label for="user_username">Username:</label>
<input name="data[User][username]"  size="30" value="" type="text"
id="UserUsername" />

Wouldn't it be more consistent to have for="UserUsername" or
id="user_username"?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to