{% if user.is_authenticated %} {% if form %}
{% csrf_token %} {{ form.non_field_errors }}
{{ form.content.errors }} {{ form.content.label_tag }} {{ form.content }}
{{ form.is_public.errors }} {{ form.is_public.label_tag }} {{ form.is_public }}
{% if comment %} {% endif %}
{% endif %} {% endif %}