<?php

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

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

$this->title = 'Login';
$this->params['breadcrumbs'][] = $this->title;
?>
<style>
    .help-block-error{
        color:red;
    }
</style>

    <main class="content-sec">
      <div class="container-xl">
        <div class="row">
          <div class="col-12">
            <div class="lucky-wrapper">
              <div class="lucky-cover">
                <div class="login-form-cover">
                  <div class="login-form-hd">
                    <h1>Lucky Draw</h1>
                    <p>Please fill out the following fields to login:</p>
                  </div>
                  <div class="login-form">
                  <?php $form = ActiveForm::begin(['id' => 'login-form']); ?>
                  <?= $form->field($model, 'email')->textInput(['placeholder' => 'Email'])->label(false) ?>
                  <?= $form->field($model, 'password')->passwordInput(['placeholder' => 'Password'])->label(false) ?>
                    <button class="btn btn-login">
                      <span class="btn-label">Login</span>
                    </button>
                    <?php ActiveForm::end(); ?>

                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </main>

    