{% extends "articles/base.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block head_title %} {% if object %} {% trans "Update Article" %} {% else %} {% trans "Publish new article" %} {% endif %} {% endblock %} {% block content %}
{% if object %}

{% trans "Update Article" %}

{{ object.title }}

{% else %}

{% trans "Publish new article" %}

{% endif %}

Keep your article clear, understandable and informative.

{# Actual form container #}
{% csrf_token %} {{ form.media }} {{ form|crispy }} Back
{% include 'articles/inc/_footer.html' %}
{% endblock %}