{% load static %}
{% load i18n %}

{% if page.get_FAQ_items %}
    <div {% include "block_settings/blocks_settings.html" %}>
        <div class="cut-width">
            <div class="container_content_faq">
                <div class="large_txt faq">
                    {% if not page.FAQ_title %}ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ{% else %}{{ page.FAQ_title }}{% endif %}
                </div>
                {% for FAQ_item in page.get_FAQ_items %}
                    <div class="faqs_container">
                        <div class="faq_container close">
                            <div class="first_line_faq pointer" onclick="faq_open_close()">
                                <div class="container_content_first_line">
                                    <div class="name_faq">{{ FAQ_item.question }}</div>
                                    <div class="faq_icon">
                                        <img class="faq_icon_img" width="15px" src="{% static "images/faq_icon.svg" %}">
                                    </div>
                                    <div class="clear_both"></div>
                                </div>
                            </div>
                            <div class="faq_content standart_txt">
                                {{ FAQ_item.answer|safe }}
                            </div>
                        </div>
                    </div>
                {% endfor %}
            </div>
        </div>
    </div>
{% endif %}