<div class="container">
    <section>
        <h2>Регистрация</h2>
        <p class="hotel-description">Заполните данные для создания учетной записи</p>

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

        $form = ActiveForm::begin([
            'id' => 'login-form',
            'options' => ['class' => 'form-horizontal'],
        ]) ?>

        <?= $form->field($model, 'surname')->textInput()?>
        <?= $form->field($model, 'name')->textInput()?>
        <?= $form->field($model, 'patronymic')->textInput()?>
        <?= $form->field($model, 'login')->textInput()?>
        <?= $form->field($model, 'passport')->textInput()?>
        <?= $form->field($model, 'adres')->textInput()?>
        <?= $form->field($model, 'phone_number')->widget(\yii\widgets\MaskedInput::class, [
            'mask' => '+7(999)-999-99-99',
        ]) ?>
        <?= $form->field($model, 'email')->textInput()?>
        <?= $form->field($model, 'password')->passwordInput() ?>

        <div class="form-group">
            <div class="col-lg-offset-1 col-lg-11">
                <?= Html::submitButton('Зарегистрироваться', ['class' => 'btn btn-primary']) ?>
            </div>
        </div>

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