reset.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {% set title = "Redefinir Senha" %}
  2. {% extends 'layout.html' %}
  3. {% block body %}
  4. <div class="container">
  5. <div class="panel">
  6. <div class="panel-body">
  7. {% if messages.success %}
  8. <div role="alert" class="alert alert-success">
  9. {% for success in messages.success %}
  10. <div>{{ success.msg }}</div>
  11. {% endfor %}
  12. </div>
  13. {% endif %}
  14. {% if messages.error %}
  15. <div role="alert" class="alert alert-danger">
  16. {% for error in messages.error %}
  17. <div>{{ error.msg }}</div>
  18. {% endfor %}
  19. </div>
  20. {% endif %}
  21. <form method="POST">
  22. <legend>Reset Password</legend>
  23. <div class="form-group">
  24. <label for="password">Nova Senha</label>
  25. <input type="password" name="password" id="password" placeholder="New password" class="form-control" autofocus>
  26. </div>
  27. <div class="form-group">
  28. <label for="confirm">Confirmar Senha</label>
  29. <input type="password" name="confirm" id="confirm" placeholder="Confirm password" class="form-control">
  30. </div>
  31. <div class="form-group">
  32. <button type="submit" class="btn btn-success">Redefinir Senha</button>
  33. </div>
  34. </form>
  35. </div>
  36. </div>
  37. </div>
  38. {% endblock %}