{% extends "pathway/templates/modal_pathway_base.html" %} {% load forms %} {% block pathway_body %} {% if pathway.get_steps|length > 1 %} {% for step in pathway.get_steps %}

{% if step.get_icon %} {% icon step.get_icon %} {% endif %} {{ step.get_display_name }}

{% include step.get_template %}
{% endfor %} {% else %} {% with step=pathway.get_steps.0 %}
{% include step.get_template %}
{% endwith %} {% endif %} {% endblock pathway_body %}