14 <p>Please fill out the following form with your login credentials:</p>
17 <?php
$form=$this->beginWidget(
'CActiveForm', array(
19 'enableClientValidation'=>
true,
20 'clientOptions'=>array(
21 'validateOnSubmit'=>
true,
25 <p
class=
"note">Fields with <span
class=
"required">*</span> are required.</p>
28 <?php echo
$form->labelEx($model,
'username'); ?>
29 <?php echo
$form->textField($model,
'username'); ?>
30 <?php echo
$form->error($model,
'username'); ?>
34 <?php echo
$form->labelEx($model,
'password'); ?>
35 <?php echo
$form->passwordField($model,
'password'); ?>
36 <?php echo
$form->error($model,
'password'); ?>
38 Hint: You may login with <kbd>demo</kbd>/<kbd>demo</kbd> or <kbd>admin</kbd>/<kbd>admin</kbd>.
42 <div
class=
"row rememberMe">
43 <?php echo
$form->checkBox($model,
'rememberMe'); ?>
44 <?php echo
$form->label($model,
'rememberMe'); ?>
45 <?php echo
$form->error($model,
'rememberMe'); ?>
48 <div
class=
"row buttons">
49 <?php echo CHtml::submitButton(
'Login'); ?>
52 <?php $this->endWidget(); ?>