{% if not_list %}
  <div class="dropdown">
{% else %}
  <li class="dropdown">
{% endif %}
  {% include "horizon/common/_keystone_provider_selector.html" %}
{% if not_list %}
  </div>
{% else %}
  </li>
{% endif %}