{% if active_projects|length == 0 %} This user is not assigned to any active projects.
A user must be a member of at least one active project to operate a tool. {% elif active_projects|length == 1 %}

Tool usage will be billed to the project named "{{ active_projects.0 }}".

{% else %}

Charge tool usage to which project?

{% for p in active_projects %} {{ p.name }} {% endfor %}
{% endif %}