Move the prompt wrapper into each block partial so that those which don't need it can leave it out

This commit is contained in:
Oliver-Akins 2025-07-26 10:52:55 -06:00
parent 40820988da
commit 7796c82962
4 changed files with 30 additions and 28 deletions

View file

@ -1,12 +1,14 @@
<label
for="{{id}}"
>
{{ label }}
</label>
<input
type="checkbox"
id="{{ id }}"
name="{{ key }}"
{{ checked defaultValue }}
{{#if autofocus}}autofocus{{/if}}
>
<div class="prompt">
<label
for="{{id}}"
>
{{ label }}
</label>
<input
type="checkbox"
id="{{ id }}"
name="{{ key }}"
{{ checked defaultValue }}
{{#if autofocus}}autofocus{{/if}}
>
</div>