{% load static %}
<div class="container_sections_buttons">
    <div class="cut-width sections_btns">
        <div class="container_content_sections_buttons">
            {% for section in sections %}
                <a href="{% url 'section_page' section.url %}" class="section_btn {% if section == cur_section or page == section %}open{% else %}close{% endif %} standart_txt pointer" data-url="{{ section.url }}">
                    <div class="txt_section standart_semi_bold_txt">{{ section.name }}</div>
                    <div class="description_sections_buttons">
                        {% if section.description %}
                            <div class="description_txt standart_txt">{{ section.description }}</div>
                        {% endif %}
                        <div class="standart_txt line_go_to_sections"><span class="orange">перейти в раздел</span> <img class="img_go_to_section" src="{% static "/images/arrow_right_for_sections.svg" %}"></div>
                    </div>
                </a>
            {% endfor %}
        </div>
    </div>
</div>