- <h3>{% if multimap is defined and multimap %}{{ id }} {% endif %}<a href="{{ location.link }}" title="{{ location.title }}">{{ location.title }}</a></h3>
- {% if forms.locations is defined and forms.locations[id] is defined and forms.locations[id] %}
+ <div class="grid{% if locations|length > 1%} two{% endif %}">
+ {% for id, location in locations %}
+ <article class="cell">
+ <header>
+ <h3>{% if multimap is defined and multimap %}{{ id }} {% endif %}<a href="{{ location.link }}" title="{{ location.title }}">{{ location.title }}</a></h3>
+ </header>
+ {% if forms.locations[id] is defined and forms.locations[id] %}
+ <ul class="grid{% if locations|length > 1%} two{% endif %}">
+ {% for id, location in locations %}
+ <li>{% if multimap is defined and multimap %}{{ id }} {% endif %}<a href="{{ location.link }}" title="{{ location.title }}">{{ location.title }}</a></li>