title = Yii::t('main', 'Sign in'); $fieldOptions1 = [ 'options' => ['class' => 'form-group has-feedback'], 'inputTemplate' => "{input}" ]; $fieldOptions2 = [ 'options' => ['class' => 'form-group has-feedback'], 'inputTemplate' => "{input}" ]; ?>
'login-form', 'enableClientValidation' => false]); ?> field($model, 'username', $fieldOptions1) ->label(false) ->textInput(['placeholder' => $model->getAttributeLabel('username')]) ?> field($model, 'password', $fieldOptions2) ->label(false) ->passwordInput(['placeholder' => $model->getAttributeLabel('password')]) ?>
field($model, 'rememberMe')->checkbox() ?>
'btn btn-primary btn-block btn-flat', 'name' => 'login-button']) ?>