{% load static %} {% load crispy_forms_tags %} {% block content %} {% if form %}
{% csrf_token %} {% if publication.id %}

Edit {{ publication }}

Change Delete {% else %}

Add new publication

Add {% endif %}

{% if sub_form %} {% crispy sub_form %} {% endif %} {% crispy form %}
{% endif %} {% if error_msg %}

{{ error_msg }}

{% endif %} {% endblock %}