<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

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

$this->title = 'Sign In';
$this->params['breadcrumbs'][] = $this->title;
?>


<div class="login-box">
      <div class="login-logo">
        <a href="../../index2.html"><b>Nex</b>GMAP</a>
      </div><!-- /.login-logo -->
      <div class="login-box-body">
        <p class="login-box-msg">Sign in to start your session</p>
       <?php $form = ActiveForm::begin(['id' => 'login-form']); ?>
          <div class="form-group has-feedback">
              <?= $form->field($model, 'username') ?>
            <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
          </div>
          <div class="form-group has-feedback">
              <?= $form->field($model, 'password')->passwordInput() ?>
            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
          </div>
          <div class="row">
            <div class="col-xs-8">    
                   <?= $form->field($model, 'rememberMe')->checkbox() ?>
            </div><!-- /.col -->
            <div class="col-xs-4">
               <?= Html::submitButton('Login', ['class' => 'btn bg-aqua btn-block', 'name' => 'login-button']) ?>
            </div><!-- /.col -->
          </div>
        <?php ActiveForm::end(); ?>


      </div><!-- /.login-box-body -->
    </div><!-- /.login-box -->




