7 <h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>
9 <p>Congratulations! You have successfully created your Yii application.</p>
11 <p>You may change the content of
this page by modifying the following two files:</p>
13 <li>View file: <code><?php echo __FILE__; ?></code></li>
14 <li>Layout file: <code><?php echo $this->getLayoutFile(
'main'); ?></code></li>
18 <?php
$form=$this->beginWidget(
'CActiveForm', array(
20 'enableClientValidation'=>
true,
21 'clientOptions'=>array(
22 'validateOnSubmit'=>
true,
26 <p
class=
"note">Fields with <span
class=
"required">*</span> are required.</p>
29 <?php echo $form->labelEx($model,
'username'); ?>
30 <?php echo $form->textField($model,
'username'); ?>
31 <?php echo $form->error($model,
'username'); ?>
35 <?php echo $form->labelEx($model,
'password'); ?>
36 <?php echo $form->passwordField($model,
'password'); ?>
37 <?php echo $form->error($model,
'password'); ?>
39 Hint: You may login with <kbd>demo</kbd>/<kbd>demo</kbd> or <kbd>admin</kbd>/<kbd>admin</kbd>.
43 <div
class=
"row rememberMe">
44 <?php echo $form->checkBox($model,
'rememberMe'); ?>
45 <?php echo $form->label($model,
'rememberMe'); ?>
46 <?php echo $form->error($model,
'rememberMe'); ?>
49 <div
class=
"row buttons">
50 <?php echo CHtml::submitButton(
'Login'); ?>
53 <?php $this->endWidget(); ?>
56 <p>For more details on how to further develop
this application, please read
57 the <a href=
"http://www.yiiframework.com/doc/">documentation</a>.
58 Feel free to ask in the <a href=
"http://www.yiiframework.com/forum/">forum</a>,
59 should you have any questions.</p>