{% extends "base.html" %} {% block content %}
{% set stages = ['intake','discovery','proposal','active','churned'] %} {% for st in stages %}

{{ st }}

{% for c in clients if c.stage == st %}
{{ c.name }}
{{ c.sector or '' }}
{% endfor %}
{% endfor %}
{% endblock %} {% block scripts %} {% endblock %}