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 %} <nav> <a href="." class="selected">Login</a> </nav> <form action="." method="POST"> {% csrf_token %} {% for field in form %} {% include "forms/_field.html" %} {% endfor %} <div class="buttons"> <button>Login</button> </div> </form> {% endblock %}