{% from 'macro/icon.html' import render_icon %} {% macro dropdown(actions, btn_class='nav-link dropdown-toggle') -%} {% endmacro %} {% macro form(url) %}
{% if action_form.csrf_token %} {{ action_form.csrf_token }} {% elif csrf_token %} {% endif %} {{ action_form.url(value=return_url) }} {{ action_form.action() }}
{% endmacro %} {% macro add_action_js(message, actions, actions_confirmation) %}
{{ actions_confirmation|tojson|safe }}
{{ message|tojson|safe }}
{% endmacro %} {# ---------------------- Modal Window ------------------- #} {% macro add_modal_button(url='', title='', content='', modal_window_id='fa_modal_window', btn_class='icon') %} {{ content|safe }} {% endmacro %} {% macro add_modal_window(modal_window_id='fa_modal_window', modal_label_id='fa_modal_label') %} {% endmacro %} {% macro add_modal_js() %} {% endmacro %}