- foreach($gateGroups as $gateGroup)
  - $gateGroup = new GateGroupPresenter($gateGroup)
  .gate-group-container(data-behavior="NavigateToCoords"
    data-navigate-to-target="#big-map"
    data-navigate-to-latitude="#{$gateGroup->latitude}"
    data-navigate-to-longitude="#{$gateGroup->longitude}")
    %header
      %span.status-icon.icon-circle(class="#{$gateGroup->statusClass}")
      %span.gate-group-name= $gateGroup->name
    %section
      %ul.unstyled
        - foreach($gateGroup->gates as $gate)
          - $gate = new GatePresenter($gate)
          %li
            %span.gate-name
              %i.icon-road
              = $gate->Descrizione
