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.

password_reset_confirm.html 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {% extends "admin/base_site.html" %}
  2. {% load i18n static %}
  3. {% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}">{% endblock %}
  4. {% block breadcrumbs %}
  5. <div class="breadcrumbs">
  6. <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
  7. &rsaquo; {% trans 'Password reset confirmation' %}
  8. </div>
  9. {% endblock %}
  10. {% block title %}{{ title }}{% endblock %}
  11. {% block content_title %}<h1>{{ title }}</h1>{% endblock %}
  12. {% block content %}
  13. {% if validlink %}
  14. <p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
  15. <form method="post">{% csrf_token %}
  16. <fieldset class="module aligned">
  17. <div class="form-row field-password1">
  18. {{ form.new_password1.errors }}
  19. <label for="id_new_password1">{% trans 'New password:' %}</label>
  20. {{ form.new_password1 }}
  21. </div>
  22. <div class="form-row field-password2">
  23. {{ form.new_password2.errors }}
  24. <label for="id_new_password2">{% trans 'Confirm password:' %}</label>
  25. {{ form.new_password2 }}
  26. </div>
  27. <input type="submit" value="{% trans 'Change my password' %}">
  28. </fieldset>
  29. </form>
  30. {% else %}
  31. <p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
  32. {% endif %}
  33. {% endblock %}