{% extends 'core/core.html' %} {% load static %} {% block title %}Beitrag {% if object %} {{ object }} bearbeiten{% else %} erstellen{% endif %} - {{ block.super }}{% endblock %} {% block breadcrumb %} {% if object.pk %} {% endif %} {% endblock %} {% block heading_title %} Beitrag{% endblock %} {% block content %}
{% csrf_token %}
{% field form.type %}
{% field form.production_date %}
{% field form.title %}
{% field form.description %}
{% field form.categories %}
{% field form.tags %}
{% field form.license help_text='Informationen zu Lizenzen findest du unter hier' %}
{% field form.publicationlimit %}
{% field form.publication_time %}
{% field form.externalcreators %}
{% if object %} Abbrechen {% endif %} {% if object %} Löschen {% endif %}
{% endblock %} {% block extra_js %} {# explicit jquery call required https://django-autocomplete-light.readthedocs.io/en/master/tutorial.html#using-autocompletes-outside-the-admin #} {{ form.media }} {% endblock %}