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

    <form id="dev-login-form" method="post">{% csrf_token %}
        <fieldset>
            <legend>Please enter your credentials to login.</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 %}