<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;

$this->title = 'Вход для администратора';
?>
<div class="admin-login">
    <h1><?= Html::encode($this->title) ?></h1>

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

    <?= $form->field($model, 'phone')->textInput(['autofocus' => true, 'value' => '8(999)999-99-99']) ?>

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

    <div class="form-group">
        <?= Html::submitButton('Войти', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
    </div>

    <?php ActiveForm::end(); ?>
</div>