Please fill out the following fields to login:
beginWidget('yii\widgets\ActiveForm'); ?> beginField($model, 'username'); echo $field->label() . "\n" . $field->textInput() . "\n" . $field->error() . "\n"; $form->endField(); $field = $form->beginField($model, 'password'); echo $field->label() . "\n" . $field->textInput() . "\n" . $field->error() . "\n"; $form->endField(); ?> endWidget(); ?>