{% extends "base_template.html" %} {% block title %}{{ _('Admin Dashboard') }}{% endblock %} {% block content %}

{{ _('Admin Dashboard') }}

{{ ngettext('%(num)d model', '%(num)d models', models|length) }}
{% 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 }}

{{ ngettext('%(num)d column', '%(num)d columns', model.columns) }}

{% endfor %}
{% else %}
{{ _('No models discovered. Make sure your features are loaded and have SQLAlchemy models defined.') }}
{% endif %} {% endblock %}