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