{# ============================================================================== Formeleon - Multi-tenant Form Generator Author: Björn Runden Template: base.html Description: Base template for all HTML pages. Includes Bootstrap 5, jQuery, and common styles. ============================================================================== #} {% block title %}{{ _('Formeleon - Form Generator') }}{% endblock %} {# Bootstrap 5 CSS #} {# Bootstrap Icons #} {# Custom CSS #} {# Font Awesome for additional icons #} {% block extra_css %}{% endblock %} {# Navigation #} {% include 'navbar.html' %} {# Main Content #}
{% block messages %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %} {% endfor %}
{% endif %} {% endwith %} {% endblock %} {% block content %}{% endblock %}
{# Dev Mode Banner #} {% if dev_mode %}
DEV MODE ENABLED User: {{ user.name if user else 'Unknown' }} | Role: {{ user.role.value if user and user.role else 'N/A' }}
{% endif %} {# jQuery #} {# Bootstrap 5 JS Bundle #} {# Custom JS #} {% block extra_js %}{% endblock %}