summaryrefslogtreecommitdiffstats
path: root/templates/registration/login.html
blob: edbb77eabc570419f0487b527a39a8a6fca01533 (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
{% 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>

{% 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 %}