Revision #2 was created by sensorario on Dec 19, 2011, 3:20:20 PM.
Fixed some code
Content
Suppose to have two models: Users and Emails. You do not want to store email in a Users model. And User can have 0 or many emails. This is the form generated to create a new user (just username).
```php
<?php $form = $this->beginWidget(‘CActiveForm’, array(
‘id’ => ‘anagraficheusers-form’,
‘enableAjaxValidation’ => false )); ?>
<?php echo $form->labelEx($model, ‘username’); ?>