fix views
This commit is contained in:
@ -1,22 +1,12 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Dektrium project.
|
||||
*
|
||||
* (c) Dektrium project <http://github.com/dektrium>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE.md
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
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
|
||||
* @var yii\web\View $this
|
||||
* @var yii\widgets\ActiveForm $form
|
||||
* @var \Da\User\Model\User $model
|
||||
* @var \Da\User\Model\SocialNetworkAccount $account
|
||||
*/
|
||||
|
||||
$this->title = Yii::t('user', 'Sign in');
|
||||
@ -37,9 +27,11 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
) ?>:
|
||||
</p>
|
||||
</div>
|
||||
<?php $form = ActiveForm::begin([
|
||||
'id' => 'connect-account-form',
|
||||
]); ?>
|
||||
<?php $form = ActiveForm::begin(
|
||||
[
|
||||
'id' => $model->formName(),
|
||||
]
|
||||
); ?>
|
||||
|
||||
<?= $form->field($model, 'email') ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user