title = Yii::t('app', 'Login');
$this->params['breadcrumbs'][] = $this->title;
?>
beginPage() ?>
= $this->render('/widgets/_flash') ?>
H+
= Yii::t('app', 'Welcome to') ?> Feehi CMS
'login-form']); ?>
= $form->field($model, 'username', ['template' => "
{input}\n{error}\n{hint}
"])
->textInput(['autofocus' => true, 'placeholder' => Yii::t("app", "Username")]) ?>
= $form->field($model, 'password', ['template' => "
{input}\n{error}\n{hint}
"])
->passwordInput(['placeholder' => Yii::t("app", "Password")]) ?>
= $form->field($model, 'captcha', ['template' => '
{input}{error}{hint}
'])->widget(Captcha::classname(), [
'template' => '{input}{image}',
'options' => [
"class"=>"form-control",
'style' => "width:300px;height:34px;position:relative;top:2px",
'placeholder' => Yii::t("app", "Verification Code"),
],
'imageOptions' => [
"style" => "cursor:pointer;right:0px"
]
]) ?>
= Html::submitButton(Yii::t("app", "Login"), [
'class' => 'btn btn-primary block full-width m-b',
'name' => 'login-button'
]) ?>
= Yii::t('app', 'Forgot password') ?>
|
= $this->render("/widgets/_language-select") ?>
endBody() ?>
endPage() ?>