~ubuntuone-pqm-team/canonical-identity-provider/trunk

« back to all changes in this revision

Viewing changes to identityprovider/templates/registration/forgot_password.html

  • Committer: Danny Tamez
  • Date: 2010-04-21 15:29:24 UTC
  • Revision ID: danny.tamez@canonical.com-20100421152924-lq1m92tstk2iz75a
Canonical SSO Provider (Open Source) - Initial Commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- Copyright 2010 Canonical Ltd.  This software is licensed under the
 
2
GNU Affero General Public License version 3 (see the file  LICENSE). -->
 
3
 
 
4
{% extends "base.html" %}
 
5
{% load i18n %}
 
6
 
 
7
{% block "title" %}{% trans "Reset password" %}{% endblock %}
 
8
 
 
9
{% block "content" %}
 
10
<div id="auth">
 
11
    <h1 class="main">{% blocktrans %}Reset your {{ sso_brand_name }} password{% endblocktrans %}</h1>
 
12
 
 
13
    <p>{% blocktrans %}Enter your email address, and we will send you
 
14
instructions on how to reset your password.{% endblocktrans %}</p>
 
15
 
 
16
    <form action="+forgot_password" method="post">
 
17
        <p class="input-row{% if form.email.errors %} haserrors{% endif %}">
 
18
            <label for="id_email">{% trans "Email address" %}</label>
 
19
            {{ form.email }}
 
20
        {% if form.email.errors %}<span class="error">{{ form.email.errors|first }}</span>{% endif %}
 
21
        </p>
 
22
        <p>
 
23
            <label>{% trans "Type the two words into the field below" %}</label>
 
24
            <div id="captcha">
 
25
                 {% include "widgets/recaptcha.html" %}
 
26
            </div>
 
27
        </p>
 
28
        <p class="actions">
 
29
            <button type="submit" name="continue" class="btn"><span><span>{% trans "Continue" %}</span></span></button>
 
30
            {% trans "or" %}
 
31
            <a href=".">{% trans "cancel" %}</a>
 
32
        </p>
 
33
        <div style="clear: both">&nbsp;</div>
 
34
    </form>
 
35
</div>
 
36
{% endblock %}