{% load publieditor_event_filters i18n %}
{% csrf_token %} {% for error in transport_form.non_field_errors %}
{{ error }}
{% endfor %} {% for error in transport_form.field_errors %}
{{ error }}
{% endfor %}
{% for value, text in transport_form.transport_ids.field.choices %}
{% for direction in value|get_directions %} {% for transportdetail in value|get_details_by_direction:direction %} {% if transportdetail.category == "flightdetail" %} {% endif %} {% if transportdetail.category == "traindetail" %} {% endif %} {% endfor %} {% endfor %}
{% ifequal transport_ids_initial value %} {% else %} {% endifequal %}  
  {% blocktrans with dir=direction|get_display|capfirst %}{{dir}}{% endblocktrans %} {{ value|get_direction_date:direction|date:"l d F" }}
{% if value|get_details_by_direction_count:direction > 1 %}{{ forloop.counter }}{% endif %} {{ transportdetail.flightdetail.flight.dep_airport}} - {{ transportdetail.flightdetail.flight.arr_airport}} {{ transportdetail.flightdetail.flight.number}} {{ transportdetail.departure|date:"H:i"}} - {{ transportdetail.arrival|date:"H:i"}} {% if value|get_details_by_direction_count:direction > 1 %}{{ forloop.counter }}{% endif %} {{ transportdetail.traindetail.train.dep_station}} - {{ transportdetail.traindetail.flight.arr_station}} {{ transportdetail.traindetail.train.number}} {{ transportdetail.departure|date:"H:i"}} - {{ transportdetail.arrival|date:"H:i"}}
{% endfor %} {% if event.enable_own %}
Mezzi propri? {{transport_form.own}}
{% endif %} {% if event.enable_free %}
Comunicazioni? {{transport_form.free}}
{% endif %}
{% if not plugin_dict.is_first %} {% endif %} {% if not plugin_dict.is_last %} {% endif %} {% if plugin_dict.is_last %} {% endif %}