discourse/app/assets/javascripts/select-kit/templates/components/dropdown-select-box/dropdown-select-box-row.hbs

16 lines
340 B
Handlebars

{{#if template}}
{{{template}}}
{{else}}
{{#if icons}}
<div class="icons">
<span class="selection-indicator"></span>
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
</div>
{{/if}}
<div class="texts">
<span class="name">{{{label}}}</span>
<span class="desc">{{{description}}}</span>
</div>
{{/if}}