1
0
Fork 0
discourse-custom-wizard-unl.../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}}