<div class="modal">
    <div class="alert-window"{% if order %} data-order_id="{{ order.id }}" data-pay_type="{{ order.payType }}"{% endif %} style="{{ form_style|safe }}">
        <img class="stat-img" src="/static/img/{{ form_icon }}"/>
        <p class="caption">{{ caption|safe }}</p>
        <p class="message">{{ message|safe }}</p>
        {% if form %}
            <div class="fieldset">
            {% for item in form %}
                {{ item }}
            {% endfor %}
            </div>
        {% endif %}
        {{ buttons|safe }}
    </div>
</div>
