1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{% extends "base.html" %} {% block title %}Login{% endblock %} {% block content %} <form action="." method="POST"> {% csrf_token %} <fieldset> <legend>Login</legend> {% for field in form %} {% include "forms/_field.html" %} {% endfor %} </fieldset> <div class="buttons"> <button>Login</button> </div> </form> {% endblock %}