layerindex-web/templates/registration/login.html
Paul Eggleton 93be8b1172 Move all templates to a templates directory
This should allow the templates to be found and swapped out more easily.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-06 16:55:23 +00:00

25 lines
682 B
HTML

{% extends "base.html" %}
{% load i18n %}
{% block content %}
<form id="login_form" method="post" action=".">
{{ form.as_p }}
<input type="submit" class="btn" value="{% trans 'Log in' %}" />
<input type="hidden" name="next" value="{{ next }}" />
{% csrf_token %}
</form>
<p>{% trans "Forgot password" %}? <a href="{% url auth_password_reset %}">{% trans "Reset it" %}</a>!</p>
<p>{% trans "Not a member" %}? <a href="{% url registration_register %}">{% trans "Register" %}</a>!</p>
{% endblock %}
{% block scripts %}
<script>
$(document).ready(function() {
$("#login_form input:text, #login_form textarea").first().focus();
});
</script>
{% endblock %}