{% if regions.support %}
  <div id="region_switcher" class="dropdown switcher_bar" tabindex='1'>
    <a class="dropdown-toggle" data-toggle="dropdown" href="#region_switcher">
      {{ regions.current.name }}
      </a>
    <ul id="region_list" class="dropdown-menu">
      <li class='divider'></li>
      {% for region in regions.available %}
        {% if region.name != regions.current.name %}
          <li><a class="ajax-modal" href="{% url horizon:auth_login %}?region={{ region.endpoint }}">{{ region.name }}</a></li>
        {% endif %}
      {% endfor %}
    </ul>
  </div>
{% endif %}
