Регистрация
'form-signup']) ?>
= $form->field($model,'username', [
'options' => ['class' => 'form-group has-feedback'],
'inputTemplate' => '{input}
',
'template' => '{beginWrapper}{input}{error}{endWrapper}',
'wrapperOptions' => ['class' => 'input-group mb-3']
])
->label(false)
->textInput(['placeholder' => $model->getAttributeLabel('username')]) ?>
= $form->field($model,'email', [
'options' => ['class' => 'form-group has-feedback'],
'inputTemplate' => '{input}
',
'template' => '{beginWrapper}{input}{error}{endWrapper}',
'wrapperOptions' => ['class' => 'input-group mb-3']
])
->label(false)
->textInput(['placeholder' => $model->getAttributeLabel('email')]) ?>
= $form->field($model, 'password', [
'options' => ['class' => 'form-group has-feedback'],
'inputTemplate' => '{input}
',
'template' => '{beginWrapper}{input}{error}{endWrapper}',
'wrapperOptions' => ['class' => 'input-group mb-3']
])
->label(false)
->passwordInput(['placeholder' => $model->getAttributeLabel('password')]) ?>
= Html::submitButton('Регистрация', ['class' => 'btn btn-primary btn-block']) ?>