Use compact template syntax

This commit is contained in:
Cohee 2024-09-26 23:34:03 +03:00
parent 8083431202
commit d8806060a7
1 changed files with 1 additions and 5 deletions

View File

@ -3,11 +3,7 @@
<div class="justifyLeft flex-container flexFlowColumn flexNoGap">
{{#each settings}}
<label class="checkbox_label">
{{#if this}}
<input type="checkbox" value="{{@key}}" name="exclude" checked>
{{else}}
<input type="checkbox" value="{{@key}}" name="exclude">
{{/if}}
<input type="checkbox" value="{{@key}}" name="exclude"{{#if this}} checked{{/if}}>
<span>{{@key}}</span>
</label>
{{/each}}