0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-16 06:40:29 +01:00
discourse-custom-wizard/assets/javascripts/wizard/templates/components/similar-topics-validator.hbs
Faizaan Gagan 3d9a564d63
IMPR: simplified similar topics template (#73)
* IMPR: simplified similar topics template

* renamed label to key

* minor formatting

* added dasherize logic for classnames
2021-02-22 16:25:47 +05:30

13 Zeilen
316 B
Handlebars

<label class={{currentStateClass}}>
{{#if currentState}}
{{#if showValidationCategories}}
{{html-safe (i18n currentStateKey catLinks=catLinks)}}
{{else}}
{{i18n currentStateKey}}
{{/if}}
{{/if}}
</label>
{{#if showSimilarTopics}}
{{wizard-similar-topics topics=similarTopics}}
{{/if}}