{{#each buttons as |state|}}
{{#if ../isApex}}
{{> boostButton type="apex" attribute=state.ability button=state.boost}}
{{else}}
{{#if flaw}}
{{> boostButton type="flaw" attribute=state.ability button=state.flaw}}
{{/if}}
{{#if boost}}
{{> boostButton type="boost" attribute=state.ability button=state.boost}}
{{/if}}
{{/if}}
{{/each}}
{{else if fallback}}
{{> boostButtonSingle button=button type=type number="first"}}
{{> boostButtonSingle button=button.second type=type number="second"}}
{{else}}
{{> boostButtonSingle button=button type=type}}
{{/if}}
{{#*inline "boostButtonSingle"}}