{% load static %}
{% load i18n %}
{% load admin_interface_tags %}
<div class="block_footer">
    <div class="cut-width">
        <div class="flex_container_footer">
            <div class="footer_els_container">
                {% for item in sections %}
                        <div class="footer_el">
                            <div class="footer_name_str medium_txt">
{#                                {{ item.name }}#}
                                Разделы
                            </div>

                            {% if sections %}
                                <div class="footer_el_childs">
                                    {% for sub_item in sections %}
                                        <a href="{% url 'section_page' sub_item.url %}" class="footer_name_str standart_semi_bold_txt">
                                            {{ sub_item.name }}
                                        </a>
                                    {% endfor %}
                                </div>
                            {% endif %}
                        </div>

                {% endfor %}
            </div>
            <div class="right_part_footer">
                <div class="logo_container_footer">
                    <img src="{{ logo }}" class="logo_footer">
                </div>
                <div class="inf_contacts_footer">
                    <div class="standart_txt txt_footer">+1 234 5678901</div>
                    <div class="standart_txt txt_footer">company@aerbim.com</div>
                </div>
                <button class="btn_contacts_footer">Контакты</button>
            </div>
        </div>
    </div>
</div>