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