Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / templates / im / auth / local_login_form.html @ 3b258643

History | View | Annotate | Download (769 Bytes)

1 081070a5 Kostas Papadimitriou
<form action="{% url astakos.im.target.local.login %}" method="post"class="login innerlabels">{% csrf_token %}
2 081070a5 Kostas Papadimitriou
    <h2>LOGIN</h2>
3 081070a5 Kostas Papadimitriou
    {% with login_form as form %}
4 081070a5 Kostas Papadimitriou
        {% include "im/form_render.html" %}
5 081070a5 Kostas Papadimitriou
    {% endwith %}
6 081070a5 Kostas Papadimitriou
    <input type="hidden" name="next" value="{{ next }}">
7 081070a5 Kostas Papadimitriou
    
8 081070a5 Kostas Papadimitriou
    {% if key %}
9 081070a5 Kostas Papadimitriou
        <input type="hidden" name="key" value="{{key}}">
10 081070a5 Kostas Papadimitriou
    {% else %}
11 081070a5 Kostas Papadimitriou
        {% if request.GET.key %}
12 081070a5 Kostas Papadimitriou
            <input type="hidden" name="key" value="{{request.GET.key}}">
13 081070a5 Kostas Papadimitriou
        {% endif %}
14 081070a5 Kostas Papadimitriou
    {% endif %}
15 081070a5 Kostas Papadimitriou
    
16 081070a5 Kostas Papadimitriou
    <div class="form-row submit clearfix">
17 081070a5 Kostas Papadimitriou
        <input type="submit" class="submit altcol" value="SUBMIT" />
18 081070a5 Kostas Papadimitriou
        <a class="extra-link" href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a>
19 081070a5 Kostas Papadimitriou
    </div>
20 081070a5 Kostas Papadimitriou
</form>