{% extends "django_editorjs2_blog/base.html" %} {% block content %}

{% if form.instance.pk %}Edit Post{% else %}New Post{% endif %}

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