{% extends 'base.html' %} {% block content %}

Log in to My Site

{% if form.errors %}

Your username and password didn't match. Please try again.

{% endif %}
{% csrf_token %} {% for field in form %}

{{ field.label_tag }}
{{ field }}
{% for error in field.errors %}

{{ error }}

{% endfor %} {% if field.help_text %}

{{ field.help_text }}

{% endif %}

{% endfor %} New to My Site? Sign up
{% endblock %}