| author | gibus |
| Thu, 10 Oct 2013 09:37:17 +0200 | |
| changeset 550 | 05b5e51e8823 |
| parent 436 | 83b032cbf471 |
| child 551 | 723261fb23fb |
| permissions | -rw-r--r-- |
| 220 | 1 |
{% extends "site/layout/base_workspace.html" %} |
2 |
{% load com %} |
|
3 |
{% load i18n %} |
|
4 |
||
5 |
{% block title %} |
|
|
225
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
6 |
{% blocktrans %}Reset my password{% endblocktrans %} |
| 220 | 7 |
{% endblock %} |
8 |
||
9 |
{% block head %} |
|
10 |
{% endblock %} |
|
11 |
||
12 |
{% block content %} |
|
13 |
||
| 550 | 14 |
<h1 class="main_title"> |
15 |
{% if CONF.f_get_logo_url %} |
|
16 |
<div><a title="{% blocktrans %}back to workspace{% endblocktrans %}" alt="logo" class="title" href="{% url index %}"><img src="{{ CONF.f_get_logo_url }}" /></a></div> |
|
17 |
{% else %} |
|
18 |
||
19 |
{% if CONF.workspace_name %} |
|
20 |
<a title="{% blocktrans %}back to workspace{% endblocktrans %}" class="title" href="{% url index %}">{{ CONF.workspace_name }}</a> |
|
21 |
{% endif %} |
|
22 |
{% endif %} |
|
23 |
</h1> |
|
|
225
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
24 |
<h1>{% blocktrans %}Reset my password{% endblocktrans %}</h1> |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
25 |
|
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
26 |
{% if form %} |
|
436
83b032cbf471
Avoids HTTP 403 on reset password, seehttps://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ref-contrib-csrf.
Production Moz <dev@sopinspace.com>
parents:
225
diff
changeset
|
27 |
<form id="profile" enctype="multipart/form-data" class="wizard-form" action="." method="post">{% csrf_token %} |
|
225
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
28 |
|
| 220 | 29 |
<table class="wide_form"> |
30 |
<tbody> |
|
31 |
{% include "site/macros/form_fields.html" %} |
|
32 |
<tr> |
|
33 |
<td style="vertical-align: top; width: 20%; text-align:right;"> |
|
34 |
</td> |
|
35 |
<td> |
|
36 |
<label></label> |
|
|
225
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
37 |
<input name="remind" type="submit" value="{% blocktrans %}Reset my password{% endblocktrans %}"/> |
| 220 | 38 |
</td> |
39 |
</tr> |
|
40 |
</tbody> |
|
41 |
</table> |
|
42 |
</form> |
|
|
225
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
43 |
{% else %} |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
44 |
<center> |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
45 |
{% blocktrans %}This link is invalid.{% endblocktrans %} |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
46 |
|
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
47 |
|
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
48 |
<br /> |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
49 |
|
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
50 |
<a href="{% url forgot-pw %}">{% blocktrans %}Forgot password?{% endblocktrans %}</a> |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
51 |
|
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
52 |
</center> |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
53 |
|
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
54 |
<br /> |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
55 |
<br /> |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
56 |
<br /> |
|
67e1a89d6bca
refactor forgot pw function to use django methods / add password change page in profile / i18n update
raph
parents:
220
diff
changeset
|
57 |
{% endif %} |
|
436
83b032cbf471
Avoids HTTP 403 on reset password, seehttps://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ref-contrib-csrf.
Production Moz <dev@sopinspace.com>
parents:
225
diff
changeset
|
58 |
{% endblock %} |