{% extends 'accounts/base.html' %} {% load crispy_forms_tags %} {% block title %}Log in or sign up for an account{% endblock %} {% block content %}
{% csrf_token %} Log in {% if next %}
You must log in before you can access that page.
{% endif %} {{ login_form | crispy }}

Forgot your password?

{% csrf_token %} Sign up for an account {{ signup_form | crispy }}

Click I accept to agree to the {{ site.name }} Terms of Service.

{% endblock %}