{% extends 'base.html' %} {% block content %}

{% if id %} Edit {% else %} New {% endif %} Post

{% csrf_token %} {{ form.as_p }}
{% endblock content %}