{{#if isFirstPage}} {{#end}} {{#unless isPaymentSummaryPage}}
{{#if properties.configuration.hasNextButton}} {{#if hasNextPage}} {{#end}} {{#end}} {{#if isLastPage}} {{#if properties.configuration.hasSubmitButton}} {{#end}} {{#if properties.configuration.hasApproveButton}} {{#end}} {{#if properties.configuration.hasPreviewButton}} {{#end}} {{#if properties.configuration.hasUpdateButton}} {{#end}} {{#if properties.configuration.hasCalculateButton}} {{#end}} {{#end}}
{{#if properties.configuration.hasPreviousButton}} {{#if hasPreviousPage}} {{#end}} {{#end}} {{#if properties.configuration.hasSaveForLaterButton}} {{#end}} {{#if isLastPage}} {{#if properties.configuration.hasApproveButton}} {{#end}} {{#end}}
{{#end}} {{#if isPaymentSummaryPage}} {{#if properties.configuration.hasPurchaseButton}} {{#end}} {{#end}} {{#if isLastPage}} {{#unless isPaymentSummaryPage}}
{{#if properties.label.disclaimerText}} {{#if hasSingleProcessor}}
{{#if showIcon}} {{#end}} {{properties.label.disclaimerText}} {{#if showIcon}} {{#end}}
{{#else}} {{properties.label.disclaimerText}} {{#end}} {{#end}} {{#if hasCards}}
{{#each processorCards}} payment card {{#end}}
{{#end}} {{#end}} {{#end}} {{#unless isPaymentSummaryPage}}
{{#if properties.configuration.hasResetButton}} {{#end}} {{#if properties.configuration.hasPrintButton}} {{#end}}
{{#end}}