{% if locations is defined and locations %}
{% if multimap is defined and multimap %}
{% endif %}
{% if forms.locations is defined %}
{% for id, location in locations %}
{% if forms.locations[id] is defined and forms.locations[id] %}
{{ form_start(forms.locations[id]) }}
{{ form_row(forms.locations[id].title) }}
{{ form_row(forms.locations[id].description) }}
{{ form_row(forms.locations[id].address) }}
{{ form_row(forms.locations[id].zipcode) }}
{{ form_row(forms.locations[id].city) }}
{{ form_row(forms.locations[id].latitude) }}
{{ form_row(forms.locations[id].longitude) }}
{{ form_row(forms.locations[id].indoor) }}
{{ form_row(forms.locations[id].hotspot) }}
{{ form_row(forms.locations[id].submit) }}
{# render csrf token etc .#}
{{ form_end(forms.locations[id]) }}
{% endif %}
{% endfor %}
{% else %}
{% for id, location in locations %}
- {% if multimap is defined and multimap %}{{ id }} {% endif %}{{ location.title }}
{% endfor %}
{% endif %}
{% endif %}
{{ include('@RapsysAir/form/_toolbox.html.twig') }}