{% load wagtailcore_tags  core_tags gem_tags %}
<li class="nav-menu-dropdown-list__item  nav-menu-dropdown-list__item--footer">
  <ul class="menu-list menu-list--header state-list">
    {% if footers %}
      {% for page in footers %}
        {% if page.show_in_menus == True %}
          <li class="menu-list__item state-list__item">
            <a href="{% pageurl page.specific %}" class="menu-list__anchor state-list__anchor">
              <span>{{page.title}}</span>
            </a>
          </li>
        {% endif %}
      {% endfor %}
      <!-- GET FORMS LIST = SHOW ON MENUS == TRUE -->
      <li class="menu-list__item state-list__item">{% contact_forms_list %}</li>
    {% endif %}

    {% load_sections as sections %}
    {% for section in sections %}
      {% if section %}
        {% if section|is_content:"News" or section|is_content:"Cast" %}
        <li class="menu-list__item state-list__item">
          <a href="{% pageurl section.specific %}" class="menu-list__anchor state-list__anchor">
            <span>{{section.title}}</span>
          </a>
        </li>
        {% else %}
          {#<!--EMPTY CHECK-->#}
        {% endif %}
      {% endif %}
    {% endfor %}
    </ul>
  {% if footers %}
    <ul class="menu-list menu-list--footer state-list">
      {% for page in footers %}
      {% get_translation page as page %}
      <li class="menu-list__item state-list__item">
        <a href="{% pageurl page.specific %}" class="menu-list__anchor state-list__anchor">{{page.title}}</a>
      </li>
      {% endfor %}
      <li class="menu-list__item state-list__item">{% contact_forms_list %}</li>
    </ul>
  {% endif %}
</li>
