{% extends "base_template.html" %} {% block title %}Admin Dashboard{% endblock %} {% block content %}

Admin Dashboard

{{ models|length }} model{{ 's' if models|length != 1 }}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %} {% if models %}
{% for model in models %}
{{ model.name }}

{{ model.columns }} column{{ 's' if model.columns != 1 }}

{{ model.count }}
{% endfor %}
{% else %}
No models discovered. Make sure your features are loaded and have SQLAlchemy models defined.
{% endif %} {% endblock %}