0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 23:31:11 +02:00
discourse-custom-wizard/assets/javascripts/discourse/templates/custom-wizard-step.hbs

20 Zeilen
481 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"}}>
{{i18n "wizard.reset"}}
</a>
{{/if}}
</div>
{{/if}}
{{#if step.permitted}}
{{custom-wizard-step
step=step
wizard=wizard
goNext=(action "goNext")
goBack=(action "goBack")
showMessage=(action "showMessage")}}
{{/if}}