{% extends "base.html" %} {% block title %}Teachers{% endblock %} {% block body %}
{% with messages = get_flashed_messages(with_categories=true) %} {% for cat, msg in messages %}
{{ msg }}
{% endfor %} {% endwith %}

➕ Add Teacher

👩‍🏫 All Teachers ({{ teachers|length }})

{% for i, t in enumerate(teachers, 1) %} {% else %} {% endfor %}
# Username Class Assigned Action
{{ i }} {{ t["username"] }} {{ t["class"] }}{{ t["section"] }}
No teachers found. Add one above.
{% endblock %}