{% import 'admin/static.html' as admin_static with context %} {% macro dropdown(actions, btn_class='nav-link dropdown-toggle') -%} {% endmacro %} {% macro form(actions, url) %} {% if actions %}
{% if action_form.csrf_token is defined and action_form.csrf_token %} {{ action_form.csrf_token }} {% elif csrf_token is defined and csrf_token %} {% endif %} {% if return_url is defined and return_url %} {{ action_form.url(value=return_url) }} {% else %} {{ action_form.url() }} {% endif %} {{ action_form.action() }}
{% endif %} {% endmacro %} {% macro script(message, actions, actions_confirmation) %} {% if actions %}
{{ actions_confirmation|tojson|safe }}
{{ message|tojson|safe }}
{% endif %} {% endmacro %}