pytask/templates/registration/password_reset_confirm.html
author Nishanth Amuluru <nishanth@fossee.in>
Wed, 12 Jan 2011 00:22:27 +0530
changeset 149 32dd15eaf9d0
parent 70 dca28aad6760
permissions -rw-r--r--
fixed a bug where guest users were not able to view the page correctly
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
{% extends "base.html" %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
{% load i18n %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset confirmation' %}</div>{% endblock %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     5
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
{% block title %}{% trans 'Password reset' %}{% endblock %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
{% block content %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     9
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    10
{% if validlink %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    11
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    12
<h1>{% trans 'Enter new password' %}</h1>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    14
<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    15
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    16
<form action="" method="post">
70
dca28aad6760 corrected the registration templates to suit new design
Nishanth Amuluru <nishanth@fossee.in>
parents: 69
diff changeset
    17
{% csrf_token %}
32
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    18
{{ form.new_password1.errors }}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    19
<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    20
{{ form.new_password2.errors }}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    21
<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    22
<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    23
</form>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    24
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    25
{% else %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    26
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    27
<h1>{% trans 'Password reset unsuccessful' %}</h1>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    28
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    29
<p>{% trans "The password reset link was invalid, possibly because it has already been used.  Please request a new password reset." %}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    30
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    31
{% endif %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    32
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    33
{% endblock %}