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:
parent
40820988da
commit
7796c82962
4 changed files with 30 additions and 28 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue