{% extends "webpage/base.html" %} {% block Titel %}Create/Modify a Place{% endblock %} {% block scriptHeader %} {% include 'autocomplete_light/static.html' %} {% endblock %} {% block content %} {% load crispy_forms_tags %}

{{ instance }}

{% if form_text %} {% crispy form_text %} {% endif %}
{% csrf_token %} {% crispy form %} {% if instance %} delete {% endif %}

related to


{% if object_place %} {% for x in object_place %} {% endfor %}
{{ x.start_date_written }} {{ x.relation_type }} {% if x.related_placeA.pk == instance.pk %}{{x.related_placeB}}{% else %}{{x.related_placeA}}{% endif %}
{% endif %}

{% if object_person %} {% for x in object_person %} {% endfor %}
{{ x.relation_type.name_reverse }} {{ x.related_person }} reverse
{% endif %}

{% if object_institution %} {% for x in object_institution %} {% endfor %}
{{ x.relation_type }} {{ x.related_institution }}
{% endif %}

{% if object_event %} {% for x in object_event %} {% endfor %}
{{ x.relation_type }} {{ x.related_event }}
{% endif %}

{% if uri %}

distinct Uri: {{ uri.0.uri }} {% endif %} {% if uri_candidates %} ambigue Uris: {% for uri in uri_candidates %}{{ uri.uri }}, {% endfor %} {% endif %}

{% endblock %} {% block scripts %} {{block.super}} {% endblock %}