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