Files

67 lines
1.6 KiB
Handlebars

{{#if isSummary}}
<h2 class="summary-title">{{step.title}}</h2>
{{save-status record=checkin}}
{{checkin/summary-step onStepCompleted=(action 'moveToNextStep')
onGoBack=(action 'moveToPrevStep') }}
{{else}}
{{#if isStart}}
{{checkin/start-step
step=step
onGoBack=(action 'moveToPrevStep')
onStepCompleted=(action 'moveToNextStep')
}}
{{else if isConditions}}
{{checkin/trackables-step
step=step
trackeds=checkin.conditions
trackableType='condition'
onStepCompleted=(action 'moveToNextStep')
onGoBack=(action 'moveToPrevStep')
}}
{{else if isHarveyBradshawIndex}}
{{checkin/hbi-step
step=step
onGoBack=(action 'moveToPrevStep')
onStepCompleted=(action 'moveToNextStep')
}}
{{else if isPromotionRate}}
{{checkin/promotion-step
step=step
onGoBack=(action 'moveToPrevStep')
onStepCompleted=(action 'moveToNextStep')
}}
{{else if isSymptoms}}
{{checkin/trackables-step
step=step
trackeds=checkin.symptoms
trackableType='symptom'
onStepCompleted=(action 'moveToNextStep')
onGoBack=(action 'moveToPrevStep')
}}
{{else if isTreatments}}
{{checkin/trackables-step
step=step
trackeds=checkin.treatments
trackableType='treatment'
onStepCompleted=(action 'moveToNextStep')
onGoBack=(action 'moveToPrevStep')
}}
{{else if isHeathFactors}}
{{checkin/health-factors-step
step=step
onGoBack=(action 'moveToPrevStep')
onStepCompleted=(action 'moveToNextStep')
}}
{{/if}}
{{/if}}
{{checkin-navigation checkin=checkin}}