{% extends 'app/base.html' %} {% load static %} {% load widget_tweaks %} {% block css %} {% endblock %} {% block content %} Log in Sign in Log in {% csrf_token %} Username Password {% if username %}Username and password does not match{% endif %} Log in {% comment %} or log in with: {% endcomment %} Sign in {% csrf_token %} {% if oldForm %}{% render_field oldForm.first_name|attr:'required' class='form-control' placeholder="First Name" %}{% else %}{% render_field form.first_name|attr:'required' class='form-control' placeholder="First Name" %}{% endif %} First name {% if oldForm %}{% render_field oldForm.last_name|attr:'required' class='form-control' placeholder="Last name" %}{% else %}{% render_field form.last_name|attr:'required' class='form-control' placeholder="Last name" %}{% endif %} Last name {% if oldForm %}{% render_field oldForm.username class='form-control' placeholder="Username" %}{% else %}{% render_field form.username class='form-control' placeholder="Username" %}{% endif %} Username {% if 'username' in oldForm.errors %}A user with that username already exists{% endif %} {% if oldForm %}{% render_field oldForm.email|attr:'required' class='form-control' placeholder="name@gmail.com" %}{% else %}{% render_field form.email|attr:'required' class='form-control' placeholder="name@gmail.com" %}{% endif %} Email address {% if 'email' in oldForm.errors %}Enter a valid email address{% endif %} {% if oldForm %}{% render_field oldForm.password1 class='form-control' type="password" placeholder="Password" %}{% else %}{% render_field form.password1 class='form-control' type="password" placeholder="Password" %}{% endif %} Password {% if 'password2' not in oldForm.errors or not oldForm %} It can’t be similar to your personal data It must contain at least 8 characters It can’t be a commonly used password It can’t be entirely numeric {% endif %} {% if oldForm %}{% render_field oldForm.password2 class='form-control' type="password" placeholder="Password" %}{% else %}{% render_field form.password2 class='form-control' type="password" placeholder="Password" %}{% endif %} Password confirmation {% if 'password2' in oldForm.errors %} {% for error in oldForm.password2.errors %}{{error|escape}}{% endfor %}{% endif %} Sign in {% comment %} or sign in with: {% endcomment %} {% endblock %}
Username and password does not match
or log in with:
A user with that username already exists
Enter a valid email address
{{error|escape}}
or sign in with: