{# ============================================================================== Formeleon - Multi-tenant Form Generator Author: Björn Runden Template: admin/tenants/list.html Description: List all tenants with filtering and pagination. ============================================================================== #} {% extends "base.html" %} {% block title %}Tenants - Formeleon{% endblock %} {% block content %}

Tenants

{% if is_admin %} Create Tenant {% endif %}
{% if tenants %}
All Tenants ({{ tenants|length }})
{% for tenant in tenants %} {% endfor %}
Name ID Public Key Status Forms Created Actions
{{ tenant.name }} {{ tenant.id }} {{ tenant.public_key[:16] }}... {{ tenant.status.value }} {{ tenant.forms|length }} {{ tenant.created_at.strftime('%Y-%m-%d') if tenant.created_at else 'N/A' }}
{% if is_admin %}
{% endif %}
{% else %}

No Tenants

No tenants have been created yet.

{% if is_admin %} Create First Tenant {% endif %}
{% endif %}
{% endblock %}