request.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {% extends "misago/base.html" %}
  2. {% load i18n %}
  3. {% block title %}{% trans "Change forgotten password" %} | {{ block.super }}{% endblock %}
  4. {% block content %}
  5. <div class="page-header">
  6. <div class="container">
  7. <h1>
  8. <span class="fa fa-key">
  9. {% trans "Change forgotten password" %}
  10. </h1>
  11. </div>
  12. </div>
  13. <div class="container">
  14. <div class="row">
  15. <div class="col-md-8">
  16. <h2>{% trans "Recovering password" %}</h2>
  17. <p>{% trans "Because user passwords are processed in an irreversible way before being saved to database, it is not possible for us to simply send you your password." %}</p>
  18. <p>{% trans "Instead you will be sent link to form that will let you set new password on your account. This link will expire after you change password or seven days pass." %}</p>
  19. </div>
  20. <div class="col-md-4">
  21. <div class="form-panel">
  22. <form method="POST" role="form">
  23. {% csrf_token %}
  24. <div class="form-header">
  25. <h3>{% trans "Request link" %}</h3>
  26. </div>
  27. {% include "misago/auth_form_errors.html" %}
  28. <div class="form-body no-fieldsets">
  29. <div class="form-group">
  30. <div class="control-input">
  31. <input type="text" name="username" class="form-control input-lg" placeholder="{% trans "Username or e-mail" %}" {% if form.username.value %}value="{{ form.username.value }}"{% endif %}>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="form-footer">
  36. <button class="btn btn-primary btn-block">{% trans "Send link" %}</button>
  37. </div>
  38. </form>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. {% endblock content %}