summaryrefslogtreecommitdiffstats
path: root/templates/registration/login.html
blob: 82f74f58d4a910587b3f052aead86eb18c2c4009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends "base.html" %}
{% load static from staticfiles %}

{% block title %}Arch Linux - Developer Login{% endblock %}

{% block content %}
<div id="dev-login" class="box">

    <h2>Developer Login</h2>

    {% if form.has_errors %}
    <p class="login-error">Your username and password didn't match. Please try again.</p>
    {% endif %}

    <form id="dev-login-form" method="post">{% csrf_token %}
        <fieldset>
            <legend>Enter login credentials</legend>
            {{ form.as_p }}
            <p><label></label> <input type="submit" value="Login" /></p>
        </fieldset>
    </form>

</div>
{% endblock %}

{% block script_block %}
{% load cdn %}{% jquery %}
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">
    modify_attributes({
        '#id_username': {autocorrect: 'off', autocapitalize: 'off'}
    });
    $('#id_username').focus();
</script>
{% endblock %}