{% from 'bootstrap5/utils.html' import render_messages %} {% from 'macros/nav_buttons.j2' import nav_buttons, user_buttons %} {% from 'macros/javascript_remove.j2' import add_javascript__remove %} {% from 'bootstrap5/utils.html' import render_icon %} {% block title %}{% endblock %} - US AON Benefit Tool {{ bootstrap.load_css() }} {# TODO: Can the version of HTMX we include be managed as a dependency like bootstrap? #} {{ JSGlue.include() }} {# TODO: The best practice is to load bootstrap right before , but then the features we need (e.g. `element.modal()`) aren't available at the time we try to use them. How to work around this? #} {{ bootstrap.load_js() }} {% if not current_user.is_authenticated %}
Please log in to use this application.
{% endif %} {{ render_messages(container=False, dismissible=True, dismiss_animate=True) }}
{% block header %}{% endblock %}
{% block content %}{% endblock %}
{% block scripts %} {{ add_javascript__remove() }} {% endblock %}