src/cm/templates/site/forgot_pw.html
changeset 225 67e1a89d6bca
parent 220 7d278fde2748
child 436 83b032cbf471
equal deleted inserted replaced
224:cc85d241b81d 225:67e1a89d6bca
     1 {% extends "site/layout/base_workspace.html" %}
     1 {% extends "site/layout/base_workspace.html" %}
     2 {% load com %}
     2 {% load com %}
     3 {% load i18n %}
     3 {% load i18n %}
     4 
     4 
     5 {% block title %}
     5 {% block title %}
     6 {% blocktrans %}Forgot password?{% endblocktrans %}
     6 {% blocktrans %}Reset my password{% endblocktrans %}
     7 {% endblock %}
     7 {% endblock %}
     8 
     8 
     9 {% block head %}
     9 {% block head %}
    10 {% endblock %}
    10 {% endblock %}
    11 
    11 
    12 {% block content %}
    12 {% block content %}
    13 
    13 
    14 <h1>{% blocktrans %}Forgot password?{% endblocktrans %}</h1>
    14 <h1>{% blocktrans %}Reset my password{% endblocktrans %}</h1>
       
    15 
       
    16 {% if form %}
    15 <form id="profile" enctype="multipart/form-data" class="wizard-form" action="." method="post">
    17 <form id="profile" enctype="multipart/form-data" class="wizard-form" action="." method="post">
       
    18 
    16 <table class="wide_form">
    19 <table class="wide_form">
    17     <tbody>
    20     <tbody>
    18             {% include "site/macros/form_fields.html" %}
    21             {% include "site/macros/form_fields.html" %}
    19     <tr>
    22     <tr>
    20         <td style="vertical-align: top; width: 20%; text-align:right;">
    23         <td style="vertical-align: top; width: 20%; text-align:right;">
    21         </td>
    24         </td>
    22         <td>
    25         <td>
    23             <label></label>
    26             <label></label>
    24             <input name="remind" type="submit" value="{% blocktrans %}Remind my password{% endblocktrans %}"/>
    27             <input name="remind" type="submit" value="{% blocktrans %}Reset my password{% endblocktrans %}"/>
    25         </td>
    28         </td>
    26     </tr>
    29     </tr>
    27     </tbody>
    30     </tbody>
    28 </table>
    31 </table>
    29 </form>
    32 </form>
       
    33 {% else %}
       
    34 <center>
       
    35 {% blocktrans %}This link is invalid.{% endblocktrans %}
       
    36 
       
    37 
       
    38 <br />
       
    39 
       
    40 <a href="{% url forgot-pw %}">{% blocktrans %}Forgot password?{% endblocktrans %}</a>
       
    41 
       
    42 </center>
       
    43 
       
    44 <br />
       
    45 <br />
       
    46 <br />
       
    47 {% endif %}
    30 {% endblock %}
    48 {% endblock %}