Files
@ 0f8c157ad6f0
Branch filter:
Location: conntrackt/conntrackt/templates/conntrackt/login.html - annotation
0f8c157ad6f0
782 B
text/html
Noticket: Fixed erroneous reversing of login URL in the login.html template.
0e5abbd2d3d6 c5c40a039ec4 c5c40a039ec4 90fac7c6abb9 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 0f8c157ad6f0 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 c5c40a039ec4 | {% extends "conntrackt/base.html" %}
{# For html_link #}
{% load conntrackt_tags %}
{% block content %}
<div class="row">
<div class="span4 offset4">
{% if form.errors %}
<p>Wrong username or password. Please try again.</p>
{% endif %}
<form method="post" action="{% url "login" %}">
{% csrf_token %}
<fieldset>
<legend>Login</legend>
<label class="control-label" for="id_username">{{ form.username.label_tag }} {{ form.username }}</label>
<label class="control-label" for="id_password">{{ form.password.label_tag }} {{ form.password }}</label>
<button type="submit" class="btn">Login</button>
<input type="hidden" name="next" value="{{next}}" />
</fieldset>
</form>
</div>
</div>
{% endblock %}
|