Esempio n. 1
0
echo $form->labelEx($model, 'password');
?>
        <?php 
echo $form->passwordField($model, 'password');
?>
        <?php 
echo $form->error($model, 'password');
?>
</div>
    
<div class="row">
        <?php 
echo $form->labelEx($model, 'status');
?>
        <?php 
echo $form->dropDownList($model, 'status', ConstantDefine::getUserStatus());
?>
        <?php 
echo $form->error($model, 'status');
?>
                                  
</div>

<div class="row buttons">
        <?php 
echo CHtml::submitButton(t('cms', 'Save'), array('class' => 'bebutton'));
?>
</div>

<?php 
$this->endWidget();