Use compact template syntax
| @@ -3,11 +3,7 @@ | ||
| 3 | 3 | <div class="justifyLeft flex-container flexFlowColumn flexNoGap"> |
| 4 | 4 | {{#each settings}} |
| 5 | 5 | <label class="checkbox_label"> |
| 6 | - {{#if this}} | |
| 6 | + <input type="checkbox" value="{{@key}}" name="exclude"{{#if this}} checked{{/if}}> | |
| 7 | - <input type="checkbox" value="{{@key}}" name="exclude" checked> | |
| 8 | - {{else}} | |
| 9 | - <input type="checkbox" value="{{@key}}" name="exclude"> | |
| 10 | - {{/if}} | |
| 11 | 7 | <span>{{@key}}</span> |
| 12 | 8 | </label> |
| 13 | 9 | {{/each}} |