~chipaca/unity-lens-video/custom-user-agent

« back to all changes in this revision

Viewing changes to templates/registration/login.html

  • Committer: Janos Gyerik
  • Date: 2012-04-04 13:22:47 UTC
  • Revision ID: burlyman@titan2x.com-20120404132247-2s7liq2i4e7nn8ul
minor improvement to create_user_profile signal

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "base.html" %}
2
 
 
3
 
{% block pagetitle %}Login{% endblock %}
4
 
 
5
 
{% block content %}
6
 
 
7
 
<p>Welcome to <strong>bashoneliners.com</strong>, a place to share Bash one-liners with the world.</p>
8
 
 
9
 
{% if form.errors %}
10
 
<p class="error">Your username and password didn't match. Please try again.</p>
11
 
{% endif %}
12
 
 
13
 
<form method="post" action="{% url django.contrib.auth.views.login %}">
14
 
{% csrf_token %}
15
 
<table>
16
 
<tr>
17
 
    <td>{{ form.username.label_tag }}</td>
18
 
    <td>{{ form.username }}</td>
19
 
</tr>
20
 
<tr>
21
 
    <td>{{ form.password.label_tag }}</td>
22
 
    <td>{{ form.password }}</td>
23
 
</tr>
24
 
</table>
25
 
 
26
 
<input type="submit" value="login" />
27
 
<input type="hidden" name="next" value="{{ next }}" />
28
 
</form>
29
 
<p><a href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a></p>
30
 
<p><a href="{% url bashoneliners.accounts.views.create_user %}">Don't have an account yet?</a></p>
31
 
 
32
 
{% endblock %}