{% load widget_tweaks %} {% load poi_filters %} {% load i18n %} {% if current_menu_item == "events_form" %} {% render_field form.has_not_location class+='inline-block' %}
{% render_field form.meeting_url class+="input w-full" %}
{% endif %} {% if current_menu_item == "contacts" %}
{{ help_text }}
{% endif %}
{% comment %} This is not for="{{ form.location.id_for_label }}" because the element with that id is a hidden input containing the locations id. The visible input element is poi-query-input (created a few lines further down) and updates the hidden input on user interaction. {% endcomment %} {% if archived %} {% if poi %}
{{ poi|poi_translation_title:current_language }}
{% endif %} {% else %} {% translate "Select a location" as poi_title_placeholder %}

{% if current_menu_item == "events_form" %} {{ help_text }} {% endif %}

{% include "_poi_query_result.html" %}
{% if current_menu_item == "contacts" %}
{% trans "This field cannot be empty. Please select a location." %}
{% endif %} {% endif %} {% include "ajax_poi_form/_poi_address_container.html" with disabled=form.has_not_location.value %}