{# ============================================================================== Formeleon - Multi-tenant Form Generator Author: Björn Runden Template: navbar.html Description: Navigation bar template with responsive design. ============================================================================== #} Formeleon {# Dashboard #} {{_('Dashboard')}} {# Tenants #} {% if user and user.is_admin() %} {{_('Tenants')}} All Tenants Create Tenant {% endif %} {# Forms #} {{_('Forms')}} All Forms {% if user %} Create Form {% endif %} {# Submissions #} {{_('Submissions')}} {# Users (Admin only) #} {% if user and user.is_admin() %} {{_('Users')}} All Users {% endif %} {# Settings #} {% if user and user.is_admin() %} {{_('Settings')}} {% endif %} {# Right-side navigation #} {% if user %} {# User dropdown #} {{ user.name }} Profile Logout {% else %} {{_('Login')}} {% endif %}