{{#each items}} {{#with quality}} {{#if selected}} {{name}} {{else}} {{name}} {{/if}} {{/with}} {{/each}}