Revision #5 was created by kmindi on Jul 14, 2012, 8:13:41 PM.
adds multipart/form-data
Content
[...]
_form.php file:
```php
.. ..
//form options array...
'htmlOptions' => array(
'enctype' => 'multipart/form-data',
),
...
..
//Other elements
..
..
<div class="row">
<?php echo $form->labelEx($model,'image'); ?>
<?php echo CHtml::activeFileField($model, 'image'); ?> // by this we can upload image