<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;

?>
<div class="site-login">
    <br/>
    <br/>
    <br/>
    <br/>

    <div class="container">
        <div class="col-lg-4"></div>
        <div class="col-lg-4">
            <img src="/PortalMahasiswa/backend/web/img/logo_new_v02.png" height="90px" align="center">
        </div>
        <div class="col-lg-4"></div>

    </div>
    <br/>
    <br/>
    <div class="container">

        <div class="row">
            <div class="col-lg-4"></div>
            <div class="col-lg-4 | blue-container">

                <?php $form = ActiveForm::begin([
                    'action' => ['login'],
                    'id' => 'login-form'
                ]); ?>

                <?= $form->field($model, 'username')->textInput(['autofocus' => true]) ?>

                <?= $form->field($model, 'password')->passwordInput() ?>

                <?= $form->field($model, 'rememberMe')->checkbox() ?>

                <div class="form-group" style="text-align: right">
                    <?= Html::submitButton('Login', ['class' => 'login-button', 'name' => 'login-button']) ?>
                </div>

                <?php ActiveForm::end(); ?>
            </div>
            <div class="col-lg-4"></div>
        </div>
    </div>

</div>
