Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- <?= $this->extend('templates/base') ?>
-
- <!-- title -->
- <?= $this->section('title') ?>Reset Password<?= $this->endSection() ?>
-
- <!-- content -->
- <?= $this->section('content') ?>
-
- <div class="container">
- <div class="row">
- <div class="col-sm-6 offset-sm-3">
-
- <div class="card">
- <h2 class="card-header"><?= lang('Auth.resetYourPassword') ?></h2>
- <div class="card-body">
-
- <?= view('Myth\Auth\Views\_message_block') ?>
-
- <p><?= lang('Auth.enterCodeEmailPassword') ?></p>
-
- <form action="<?= route_to('reset-password') ?>" method="post">
- <?= csrf_field() ?>
-
- <div class="form-group">
- <label for="token"><?= lang('Auth.token') ?></label>
- <input type="text" class="form-control <?php if (session('errors.token')) : ?>is-invalid<?php endif ?>" name="token" placeholder="<?= lang('Auth.token') ?>" value="<?= old('token', $token ?? '') ?>">
- <div class="invalid-feedback">
- <?= session('errors.token') ?>
- </div>
- </div>
-
- <div class="form-group">
- <label for="email"><?= lang('Auth.email') ?></label>
- <input type="email" class="form-control <?php if (session('errors.email')) : ?>is-invalid<?php endif ?>" name="email" aria-describedby="emailHelp" placeholder="<?= lang('Auth.email') ?>" value="<?= old('email') ?>">
- <div class="invalid-feedback">
- <?= session('errors.email') ?>
- </div>
- </div>
-
- <br>
-
- <div class="form-group">
- <label for="password"><?= lang('Auth.newPassword') ?></label>
- <input type="password" class="form-control <?php if (session('errors.password')) : ?>is-invalid<?php endif ?>" name="password">
- <div class="invalid-feedback">
- <?= session('errors.password') ?>
- </div>
- </div>
-
- <div class="form-group">
- <label for="pass_confirm"><?= lang('Auth.newPasswordRepeat') ?></label>
- <input type="password" class="form-control <?php if (session('errors.pass_confirm')) : ?>is-invalid<?php endif ?>" name="pass_confirm">
- <div class="invalid-feedback">
- <?= session('errors.pass_confirm') ?>
- </div>
- </div>
-
- <br>
-
- <button type="submit" class="btn btn-primary btn-block"><?= lang('Auth.resetPassword') ?></button>
- </form>
-
- </div>
- </div>
-
- </div>
- </div>
- </div>
-
- <?= $this->endSection() ?>
|