11 <div
class=
"page-header">
12 <h1>Login <small>to your account</small></h1>
14 <div
class=
"row-fluid">
16 <div
class=
"span6 offset3">
18 $this->beginWidget(
'zii.widgets.CPortlet', array(
19 'title'=>
"Private access",
26 <p>Please fill out the following form with your login credentials:</p>
29 <?php
$form=$this->beginWidget(
'CActiveForm', array(
31 'enableClientValidation'=>
true,
32 'clientOptions'=>array(
33 'validateOnSubmit'=>
true,
37 <p
class=
"note">Fields with <span
class=
"required">*</span> are required.</p>
40 <?php echo $form->labelEx($model,
'username'); ?>
41 <?php echo $form->textField($model,
'username'); ?>
42 <?php echo $form->error($model,
'username'); ?>
46 <?php echo $form->labelEx($model,
'password'); ?>
47 <?php echo $form->passwordField($model,
'password'); ?>
48 <?php echo $form->error($model,
'password'); ?>
50 Hint: You may login with <kbd>demo</kbd>/<kbd>demo</kbd> or <kbd>admin</kbd>/<kbd>admin</kbd>.
54 <div
class=
"row rememberMe">
55 <?php echo $form->checkBox($model,
'rememberMe'); ?>
56 <?php echo $form->label($model,
'rememberMe'); ?>
57 <?php echo $form->error($model,
'rememberMe'); ?>
60 <div
class=
"row buttons">
61 <?php echo CHtml::submitButton(
'Login',array(
'class'=>
'btn btn btn-primary')); ?>
64 <?php $this->endWidget(); ?>
67 <?php $this->endWidget();?>