title = Yii::t('main', 'Sign in'); $fieldOptions1 = [ 'options' => ['class' => 'form-group has-feedback'], 'inputTemplate' => "{input}" ]; $fieldOptions2 = [ 'options' => ['class' => 'form-group has-feedback'], 'inputTemplate' => "{input}" ]; ?>
= Yii::t('main', 'Sign in to start your session') ?>
= Alert::widget() ?> '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')]) ?>