{% extends "backoffice/base.html" %} {% load django_bootstrap5 %} {% load i18n %} {% load static %} {% block title %} {% if form.create %} {% trans "SoS__create" %} {% else %} {{ event.name }} {% endif %} | {% trans "SoS" %} | {{ conference.name }} {% endblock title %} {% block scripts %} {% endblock scripts %} {% block content %}
{% csrf_token %}
{% if form.create %} {% trans "SoS__create" %} {% else %} {% trans "SoS__edit" %} {% endif %}
{% if event.is_public and not form.create %}
{% blocktrans %}SoS__recall__introduction{% endblocktrans %}
{% trans "SoS__public_links" %}
{% elif not form.create %}
{% blocktrans %}SoS__publish__introduction{% endblocktrans %}
{% if publication_errors %}
{% trans "Event_publication_errors" %}
    {% for field, error in publication_errors.items %} {% with "Event__"|add:field as field_name %}
  • {% trans field_name %}: {{ error.0 }}
  • {% endwith %} {% endfor %}
{% endif %} {% endif %}

{% trans "Event__edit-metadata" %}

{% bootstrap_field form.name %}
{% bootstrap_field form.language %}
{% bootstrap_field form.description_de %}
{% bootstrap_field form.description_en %}

{% trans "Event__edit-publishing" %}

{% if event.is_public %}
{% trans "Event__published_data__current" %}
{% trans "Event__schedule_start" %}
{{ event.schedule_start }}
{% trans "Event__schedule_duration" %}
{{ event.schedule_duration }}
{% if event.room %} {% trans "Event__room" %}
{{ event.room.name }} {% else %} {% trans "Event__room" %} {% trans "Event__location" %}
{{ event.location|default:"-/-" }} {% endif %}
{% endif %}
{% bootstrap_field form.schedule_start %}
{% if form.room.errors %}
{% for e in form.room.errors %}{{ e }}{% endfor %}
{% else %}
{% trans "Event__room__choose" %}
{% endif %}
{% bootstrap_field form.schedule_duration addon_after="Min." %}
{% bootstrap_field form.location %}
{% bootstrap_field form.tags_list %}
{% if not form.create %}
{% trans "SoS__delete" %}

{% trans "SoS__delete__introduction" %}

{% csrf_token %}
{% endif %} {% endblock content %}