| author | gibus |
| Thu, 08 Sep 2011 15:15:23 +0200 | |
| changeset 375 | d6439b3eb2de |
| parent 285 | 1070d52adc11 |
| child 417 | c5e91f204371 |
| permissions | -rw-r--r-- |
| 0 | 1 |
{% load i18n %} |
2 |
<div id="login_container"> |
|
3 |
||
4 |
<form id="login" enctype="multipart/form-data" class="wizard-form" action="." method="post"> |
|
5 |
||
6 |
<div class="underline_border"> |
|
7 |
{% blocktrans with CONF.workspace_name as wname %}{{ wname }} Login{% endblocktrans %} |
|
8 |
</div> |
|
9 |
||
10 |
||
11 |
<table class="small_form"> |
|
12 |
<tbody> |
|
13 |
{% include "site/macros/form_fields.html" %} |
|
14 |
<tr> |
|
15 |
<td style="vertical-align: top; width: 20%; text-align:right;"> |
|
16 |
</td> |
|
17 |
<td> |
|
18 |
<label></label> |
|
| 220 | 19 |
<input name="login" type="submit" value="{% blocktrans %}Login{% endblocktrans %}"/> |
20 |
{% if CONF.workspace_registration %}<br/><a href="{% url register %}">{% blocktrans %}Register{% endblocktrans %}</a>{% endif %} |
|
21 |
<br /><a href="{% url forgot-pw %}">{% blocktrans %}Forgot password?{% endblocktrans %}</a> |
|
| 0 | 22 |
</td> |
23 |
</tr> |
|
24 |
</tbody> |
|
25 |
</table> |
|
26 |
||
27 |
{% if request.GET.next %} |
|
28 |
<input type="hidden" name="next" value="{{ request.GET.next }}"> |
|
29 |
{% endif %} |
|
|
285
1070d52adc11
propagates query string parameters when login in (so that link with direct coment id are properly propagated)
raph
parents:
220
diff
changeset
|
30 |
{% if request.GET.q %} |
|
1070d52adc11
propagates query string parameters when login in (so that link with direct coment id are properly propagated)
raph
parents:
220
diff
changeset
|
31 |
<input type="hidden" name="q" value="{{ request.GET.q }}"> |
|
1070d52adc11
propagates query string parameters when login in (so that link with direct coment id are properly propagated)
raph
parents:
220
diff
changeset
|
32 |
{% endif %} |
| 0 | 33 |
|
34 |
</form> |
|
35 |
||
36 |
</div> |