0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-30 04:30:29 +01:00
discourse-custom-wizard/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}}