Use compact template syntax

This commit is contained in:
Cohee 2024-09-26 23:34:03 +03:00
parent 8083431202
commit d8806060a7

View File

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