resend.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /*
  3. * This file is part of the Dektrium project.
  4. *
  5. * (c) Dektrium project <http://github.com/dektrium>
  6. *
  7. * For the full copyright and license information, please view the LICENSE.md
  8. * file that was distributed with this source code.
  9. */
  10. use yii\helpers\Html;
  11. use yii\widgets\ActiveForm;
  12. /**
  13. * @var yii\web\View $this
  14. * @var dektrium\user\models\ResendForm $model
  15. */
  16. $this->title = Yii::t('user', 'Request new confirmation message');
  17. $this->params['breadcrumbs'][] = $this->title;
  18. ?>
  19. <div class="row">
  20. <div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
  21. <div class="panel panel-default">
  22. <div class="panel-heading">
  23. <h3 class="panel-title"><?= Html::encode($this->title) ?></h3>
  24. </div>
  25. <div class="panel-body">
  26. <?php $form = ActiveForm::begin([
  27. 'id' => 'resend-form',
  28. 'enableAjaxValidation' => true,
  29. 'enableClientValidation' => false,
  30. ]); ?>
  31. <?= $form->field($model, 'email')->textInput(['autofocus' => true]) ?>
  32. <?= Html::submitButton(Yii::t('user', 'Continue'), ['class' => 'btn btn-primary btn-block']) ?><br>
  33. <?php ActiveForm::end(); ?>
  34. </div>
  35. </div>
  36. </div>
  37. </div>