title = 'Sign In'; $fieldOptions1 = [ 'options' => ['class' => 'form-group has-feedback'], 'inputTemplate' => "{input}" ]; $fieldOptions2 = [ 'options' => ['class' => 'form-group has-feedback'], 'inputTemplate' => "{input}" ]; ?>
Sign in to start your session
'login-form', 'enableClientValidation' => false]); ?> = $form ->field($model, 'username', $fieldOptions1) ->label(false) ->textInput(['placeholder' => $model->getAttributeLabel('username')]) ?> = $form ->field($model, 'password', $fieldOptions2) ->label(false) ->passwordInput(['placeholder' => $model->getAttributeLabel('password')]) ?>