This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/select-kit/templates/components/select-kit/select-kit-row.hbs
Joffrey JAFFEUX 38668818a5
FIX: allows forcing unsafe string in select-kit (#6386)
forceEscape will be defaulted to true before next release.
2018-09-12 12:19:04 +02:00

13 lines
220 B
Handlebars

{{#if template}}
{{{template}}}
{{else}}
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
<span class="name">
{{#if forceEscape}}
{{label}}
{{else}}
{{{label}}}
{{/if}}
</span>
{{/if}}