{% include "web/_work_request-workflow-child.html" %}
{# TODO: This should be batched. #}
{% for child in work_request.children.all %}
-
{% if child.children.all %}
{% include "web/_work_request-descendants.html" with work_request=child only %}
{% else %}
{% include "web/_work_request-workflow-child.html" with work_request=child only %}
{% endif %}
{% endfor %}