{% extends "pathway/templates/modal_pathway_base.html" %} {% load forms %} {% block pathway_header %}

{% if pathway.icon %}{% icon pathway.icon %}{% endif %} {{ pathway.display_name }} ([[ episode.demographics[0].first_name ]] [[ episode.demographics[0].surname ]]) - [[ pathway.currentStep.display_name ]]

{% block process_steps %}
{% process_steps process_steps="pathway.steps" click="clickIcon" show_titles=False active="progress_step.display_name === pathway.currentStep.display_name" complete="pathway.stepIndex(progress_step) < pathway.currentIndex" disabled="pathway.stepIndex(progress_step) > pathway.currentIndex" %}
{% endblock %} {% endblock pathway_header %} {% block pathway_body %} {% for step in pathway.get_steps %}
{% include step.get_template %}
{% endfor %} {% endblock pathway_body %} {% block pathway_footer %} {% endblock pathway_footer %}