login.php
311 Bytes
<div class="form login">
<?php $form=$this->beginWidget('CActiveForm'); ?>
<p>Please enter your password</p>
<?php echo $form->passwordField($model,'password'); ?>
<?php echo $form->error($model,'password'); ?>
<?php echo CHtml::submitButton('Enter'); ?>
<?php $this->endWidget(); ?>
</div><!-- form -->