{% extends "base.html" %} {% block content %} {% if not created %}
{% csrf_token %} {{ form.as_p }}
{% else %}

Your article was created.

{{ object.title }} - {{ object.content }} {% endif %} {% endblock content %}