{{if ((stepInfos.length == stepIndex + 1) || (step.index < alreadyStep))}}
{{else}}
{{=(stepIndex + 1)}}
{{/if}}
{{=step.label}}
{{if ((step.index == curStepIndex) && (curSubStepIndex == -1))}}
{{/if}}
{{if !step.locked && step.showSubs}}
{{each step.subs as sub}}
{{if ((step.index == curStepIndex) && (curSubStepIndex == sub.index))}}
{{/if}}
{{/each}}
{{/if}}
{{if step.locked}}
{{/if}}
{{/each}}