You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 年之前
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?= $this->extend('templates/base') ?>
  2. <!-- title -->
  3. <?= $this->section('title') ?>Forgot Password<?= $this->endSection() ?>
  4. <!-- content -->
  5. <?= $this->section('content') ?>
  6. <div class="container">
  7. <div class="row">
  8. <div class="col-sm-6 offset-sm-3">
  9. <div class="card">
  10. <h2 class="card-header"><?= lang('Auth.forgotPassword') ?></h2>
  11. <div class="card-body">
  12. <?= view('Myth\Auth\Views\_message_block') ?>
  13. <p><?= lang('Auth.enterEmailForInstructions') ?></p>
  14. <form action="<?= route_to('forgot') ?>" method="post">
  15. <?= csrf_field() ?>
  16. <div class="form-group">
  17. <label for="email"><?= lang('Auth.emailAddress') ?></label>
  18. <input type="email" class="form-control <?php if (session('errors.email')) : ?>is-invalid<?php endif ?>" name="email" aria-describedby="emailHelp" placeholder="<?= lang('Auth.email') ?>">
  19. <div class="invalid-feedback">
  20. <?= session('errors.email') ?>
  21. </div>
  22. </div>
  23. <br>
  24. <button type="submit" class="btn btn-primary btn-block"><?= lang('Auth.sendInstructions') ?></button>
  25. </form>
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <?= $this->endSection() ?>