{{ input.heading or 'Choose your path' }}

{%- if input.prompt %}

{{ input.prompt }}

{%- endif %} {%- if (variant or 'branched-list') == 'tabs-static' %}
{%- for branch in input.branches %}
{{ branch.label }} {%- if branch.primary %} ● {%- endif %}
{%- endfor %}
{%- endif %} {%- for branch in input.branches if branch.primary %}
{%- if (variant or 'branched-list') == 'branched-list' %}
▶ {{ branch.label }} {%- if branch.when %} — {{ branch.when }} {%- endif %}
{%- endif %}
{{ branch.body }}
{%- endfor %} {%- set alternates = input.branches | rejectattr('primary') | list %} {%- if alternates %}

{{ input.alternates_label or 'Other paths' }}

{%- endif %}