requestResetToken.php 544 Bytes
<?php
use yii\helpers\Html;
use thread\app\bootstrap\ActiveForm;
use yii\bootstrap\Alert;

echo Alert::widget();

$form = ActiveForm::begin([
    'id' => 'request-password-reset-form',
    'class' => 'm-t'
]); ?>
    <p class="text-center"><?= Yii::t('user', 'Please fill out your email') ?></p>
<?= $form->field($model, 'email')->textInput(['autofocus' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton(Yii::t('app', 'Send'), ['class' => 'btn btn-primary block full-width m-b']) ?>
    </div>

<?php ActiveForm::end();