fix views
This commit is contained in:
@ -1,20 +1,10 @@
|
||||
<?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 dektrium\user\models\ResendForm $model
|
||||
/**
|
||||
* @var yii\web\View $this
|
||||
* @var \Da\User\Form\ResendForm $model
|
||||
*/
|
||||
|
||||
$this->title = Yii::t('user', 'Request new confirmation message');
|
||||
@ -27,11 +17,13 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
<h3 class="panel-title"><?= Html::encode($this->title) ?></h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<?php $form = ActiveForm::begin([
|
||||
'id' => 'resend-form',
|
||||
'enableAjaxValidation' => true,
|
||||
'enableClientValidation' => false,
|
||||
]); ?>
|
||||
<?php $form = ActiveForm::begin(
|
||||
[
|
||||
'id' => $model->formName(),
|
||||
'enableAjaxValidation' => true,
|
||||
'enableClientValidation' => false,
|
||||
]
|
||||
); ?>
|
||||
|
||||
<?= $form->field($model, 'email')->textInput(['autofocus' => true]) ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user