evorepo/templates/registration/login.html
Dan McGee b3059dd3e8 Remove action when submitting to same URL
It looks like the `action="."` business was screwing up some browsers,
notably lynx and links. We don't need it as the default is to submit to the
same page anyway, so kill this gunk and see if it fixes a login CSRF issue.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-11 17:29:46 -05:00

23 lines
596 B
HTML

{% extends "base.html" %}
{% 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 %}