evorepo/templates/registration/login.html
Dan McGee 5a31b86871 Slight tweaks to login and logout pages
Turns out has_errors hasn't worked since Django pre-1.0, wow. Remove
that old code and clean up some other small things while we're in there.

Signed-off-by: Dan McGee <dan@archlinux.org>
2015-01-13 18:24:56 -06:00

30 lines
822 B
HTML

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