12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- use yii\helpers\Html;
- use yii\widgets\ActiveForm;
- /**
- * @var yii\web\View $this
- * @var yii\widgets\ActiveForm $form
- * @var dektrium\user\models\User $model
- * @var dektrium\user\models\Account $account
- */
- $this->title = Yii::t('user', 'Sign in');
- $this->params['breadcrumbs'][] = $this->title;
- ?>
- <div class="row">
- <div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title"><?= Html::encode($this->title) ?></h3>
- </div>
- <div class="panel-body">
- <div class="alert alert-info">
- <p>
- <?= Yii::t(
- 'app',
- 'In order to finish your registration, we need you to enter following fields'
- ) ?>:
- </p>
- </div>
- <?php $form = ActiveForm::begin([
- 'id' => 'connect-account-form',
- ]); ?>
- <?= $form->field($model, 'email') ?>
- <?= $form->field($model, 'username') ?>
- <?= Html::submitButton(Yii::t('user', 'Continue'), ['class' => 'btn btn-success btn-block']) ?>
- <?php ActiveForm::end(); ?>
- </div>
- </div>
- <p class="text-center">
- <?= Html::a(
- Yii::t(
- 'app',
- 'If you already registered, sign in and connect this account on settings page'
- ),
- ['/user/settings/auth']
- ) ?>.
- </p>
- </div>
- </div>
|