Skip to content

Commit

Permalink
Update test.hbs (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenhitchon authored Apr 10, 2023
1 parent d87811b commit 86cfe7d
Showing 1 changed file with 23 additions and 29 deletions.
52 changes: 23 additions & 29 deletions src/components/select/test.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,27 @@ model:
}}
</div>

<div class="nsw-form__group nsw-m-bottom-sm">
{{>_select model.savings-program
id="select-all-savings-programs-test"
multiple="true"
}}
<div class="nsw-form__group">
<fieldset class="nsw-form__fieldset">
<legend>
<span class="nsw-form__legend">Category</span>
</legend>
{{>_checkbox
id="form-checkbox-multi-1-a"
name="form-checkbox-multi-1"
label="Customer Service"
}}
{{>_checkbox
id="form-checkbox-multi-1-b"
name="form-checkbox-multi-1"
label="Communities and Justice"
checked=false
}}
</fieldset>

<div class="nsw-form__group nsw-m-bottom-sm">
{{>_select model.region id="select-all-regions-1" }}
</div>
</div>

<div class="nsw-form__group">
Expand Down Expand Up @@ -65,30 +81,8 @@ model:
</fieldset>
</div>

<div class="nsw-form__group">
<fieldset class="nsw-form__fieldset">
<legend>
<span class="nsw-form__legend">Category</span>
</legend>
{{>_checkbox
id="form-checkbox-multi-1-a"
name="form-checkbox-multi-1"
label="Customer Service"
}}
{{>_checkbox
id="form-checkbox-multi-1-b"
name="form-checkbox-multi-1"
label="Communities and Justice"
checked=false
}}
</fieldset>

<div class="nsw-form__group nsw-m-bottom-sm">
{{>_select model.region id="select-all-regions-1" }}
</div>
</div>

{{>_button-input type="submit" style="dark" text="Submit"}}

<p id="log"></p>
</form>

Expand All @@ -100,7 +94,7 @@ function logSubmit(event) {
for (const [key, value] of formData) {
log.innerHTML += `<pre>${key}: ${value}</pre>\n`;
}
}
}
const form = document.querySelector("form");
const log = document.getElementById("log");
Expand Down

0 comments on commit 86cfe7d

Please sign in to comment.