1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/wizard/templates/step.hbs

19 Zeilen
525 B
Handlebars

{{#if stepMessage}}
<div class="step-message {{stepMessage.state}}">
<div class="text">
{{stepMessage.text}}
</div>
{{#if showReset}}
<a role="button" class="reset-wizard" {{action "resetWizard"}}>
{{wizard-i18n "wizard.reset"}}
</a>
{{/if}}
</div>
{{/if}}
{{#if step.permitted}}
{{wizard-step step=step
wizard=wizard
goNext=(action "goNext")
goBack=(action "goBack")
showMessage=(action "showMessage")}}
{{/if}}