<?php
$elements = [
    'title_login' => '<span class="popup__title">Авторизация</span>',
    'errors_login' => '<div class="errors_login_popup"></div>',
    'username' => ['type' => 'text', 'placeholder'=>"E-mail", 'options'=>['label'=>false],
        'inputOptions'=>['class'=>'input_st field-input required alphanumeric']],
    'password' => ['type' => 'password', 'placeholder'=>"Пароль", 'options'=>['label'=>false],
        'inputOptions'=>['class'=>'input_st field-input required alphanumeric']],
    'button_submit' => '<a href="javascript:void(0)" class="submit_form_login_popup">
        <div class="save-button sh_bt_send">
            Войти
        </div>
        </a>',
    'registration_link' => '<a class="reg_popup_link" href="javascript:void(0)">Регистрация</a>',
];


return [
    'activeForm'=>[
        'id' => 'login_form_popup',
        'options' => [
            'enctype' => 'multipart/form-data'
        ],
    ],
    'elements'       => $elements,
];

