-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Used <fieldset> and <legend> to group related inputs.
- Loading branch information
Showing
13 changed files
with
225 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
<form method="post"> | ||
<div class="mb-3" id="div_id_checkboxes"> | ||
<label class="form-label requiredField">Checkboxes<span class="asteriskField">*</span></label> | ||
<div> | ||
<div class="form-check"> | ||
<input checked="checked" class="form-check-input" id="id_checkboxes_0" name="checkboxes" type="checkbox" | ||
value="1" /><label class="form-check-label" for="id_checkboxes_0">Option one</label> | ||
<fieldset> | ||
<legend class="form-label requiredField">Checkboxes<span class="asteriskField">*</span></legend> | ||
<div> | ||
<div class="form-check"> | ||
<input checked="checked" class="form-check-input" id="id_checkboxes_0" name="checkboxes" type="checkbox" | ||
value="1" /><label class="form-check-label" for="id_checkboxes_0">Option one</label> | ||
</div> | ||
<div class="form-check"> | ||
<input class="form-check-input" id="id_checkboxes_1" name="checkboxes" type="checkbox" | ||
value="2" /><label class="form-check-label" for="id_checkboxes_1">Option two</label> | ||
</div> | ||
<div class="form-check"> | ||
<input class="form-check-input" id="id_checkboxes_2" name="checkboxes" type="checkbox" | ||
value="3" /><label class="form-check-label" for="id_checkboxes_2">Option three</label> | ||
</div> | ||
</div> | ||
<div class="form-check"> | ||
<input class="form-check-input" id="id_checkboxes_1" name="checkboxes" type="checkbox" | ||
value="2" /><label class="form-check-label" for="id_checkboxes_1">Option two</label> | ||
</div> | ||
<div class="form-check"> | ||
<input class="form-check-input" id="id_checkboxes_2" name="checkboxes" type="checkbox" | ||
value="3" /><label class="form-check-label" for="id_checkboxes_2">Option three</label> | ||
</div> | ||
</div> | ||
</fieldset> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
<form method="post"> | ||
<div id="div_id_radio" class="mb-3"> | ||
<label class="form-label requiredField" | ||
> Radio<span class="asteriskField">*</span> | ||
</label> | ||
<div> | ||
<div class="form-check"> | ||
<input | ||
type="radio" | ||
class="form-check-input" | ||
name="radio" | ||
id="id_radio_0" | ||
value="1" | ||
required | ||
/> | ||
<label for="id_radio_0" class="form-check-label" | ||
> Option one | ||
</label> | ||
</div> | ||
<div class="form-check"> | ||
<input | ||
type="radio" | ||
class="form-check-input" | ||
name="radio" | ||
id="id_radio_1" | ||
value="2" | ||
required | ||
/> | ||
<label for="id_radio_1" class="form-check-label" | ||
> Option two | ||
</label> | ||
</div> | ||
<div class="form-check"> | ||
<input | ||
type="radio" | ||
class="form-check-input" | ||
name="radio" | ||
id="id_radio_2" | ||
value="3" | ||
required | ||
/> | ||
<label for="id_radio_2" class="form-check-label" | ||
> Option three | ||
</label> | ||
</div> | ||
</div> | ||
<fieldset> | ||
<legend class="form-label requiredField"> Radio<span class="asteriskField">*</span></legend> | ||
<div> | ||
<div class="form-check"> | ||
<input | ||
type="radio" | ||
class="form-check-input" | ||
name="radio" | ||
id="id_radio_0" | ||
value="1" | ||
required | ||
/> | ||
<label for="id_radio_0" class="form-check-label" | ||
> Option one | ||
</label> | ||
</div> | ||
<div class="form-check"> | ||
<input | ||
type="radio" | ||
class="form-check-input" | ||
name="radio" | ||
id="id_radio_1" | ||
value="2" | ||
required | ||
/> | ||
<label for="id_radio_1" class="form-check-label" | ||
> Option two | ||
</label> | ||
</div> | ||
<div class="form-check"> | ||
<input | ||
type="radio" | ||
class="form-check-input" | ||
name="radio" | ||
id="id_radio_2" | ||
value="3" | ||
required | ||
/> | ||
<label for="id_radio_2" class="form-check-label" | ||
> Option three | ||
</label> | ||
</div> | ||
</div> | ||
</fieldset> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
<form method="post"> | ||
<div class="mb-3" id="div_id_checkbox_select_multiple"><label class="form-label requiredField">Checkbox select | ||
multiple<span class="asteriskField">*</span></label> | ||
<div><strong>Audio</strong> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_0_0" | ||
name="checkbox_select_multiple" type="checkbox" value="vinyl"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_0_0">Vinyl</label></div> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_0_1" | ||
name="checkbox_select_multiple" type="checkbox" value="cd"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_0_1">CD</label></div><strong>Video</strong> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_1_0" | ||
name="checkbox_select_multiple" type="checkbox" value="vhs"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_1_0">VHS Tape</label></div> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_1_1" | ||
name="checkbox_select_multiple" type="checkbox" value="dvd"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_1_1">DVD</label></div> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_2" | ||
name="checkbox_select_multiple" type="checkbox" value="unknown"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_2">Unknown</label></div> | ||
</div> | ||
<div class="form-text"> | ||
help | ||
</div> | ||
<div class="mb-3" id="div_id_checkbox_select_multiple"> | ||
<fieldset> | ||
<legend class="form-label requiredField">Checkbox select multiple<span class="asteriskField">*</span></legend> | ||
<div><strong>Audio</strong> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_0_0" | ||
name="checkbox_select_multiple" type="checkbox" value="vinyl"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_0_0">Vinyl</label></div> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_0_1" | ||
name="checkbox_select_multiple" type="checkbox" value="cd"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_0_1">CD</label></div><strong>Video</strong> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_1_0" | ||
name="checkbox_select_multiple" type="checkbox" value="vhs"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_1_0">VHS Tape</label></div> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_1_1" | ||
name="checkbox_select_multiple" type="checkbox" value="dvd"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_1_1">DVD</label></div> | ||
<div class="form-check"><input class="form-check-input" id="id_checkbox_select_multiple_2" | ||
name="checkbox_select_multiple" type="checkbox" value="unknown"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_2">Unknown</label></div> | ||
</div> | ||
<div class="form-text"> | ||
help | ||
</div> | ||
</fieldset> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
<form method="post"> | ||
<div class="mb-3" id="div_id_checkbox_select_multiple"><label class="form-label requiredField">Checkbox select | ||
multiple<span class="asteriskField">*</span></label> | ||
<div><strong>Audio</strong> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_0_0" | ||
name="checkbox_select_multiple" type="checkbox" value="vinyl"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_0_0">Vinyl</label></div> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_0_1" | ||
name="checkbox_select_multiple" type="checkbox" value="cd"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_0_1">CD</label></div><strong>Video</strong> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_1_0" | ||
name="checkbox_select_multiple" type="checkbox" value="vhs"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_1_0">VHS Tape</label></div> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_1_1" | ||
name="checkbox_select_multiple" type="checkbox" value="dvd"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_1_1">DVD</label></div> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_2" | ||
name="checkbox_select_multiple" type="checkbox" value="unknown"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_2">Unknown</label> | ||
<p class="invalid-feedback" id="error_1_id_checkbox_select_multiple"><strong>This field is | ||
required.</strong></p> | ||
<div class="mb-3" id="div_id_checkbox_select_multiple"> | ||
<fieldset> | ||
<legend class="form-label requiredField">Checkbox select multiple<span class="asteriskField">*</span></legend> | ||
<div><strong>Audio</strong> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_0_0" | ||
name="checkbox_select_multiple" type="checkbox" value="vinyl"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_0_0">Vinyl</label></div> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_0_1" | ||
name="checkbox_select_multiple" type="checkbox" value="cd"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_0_1">CD</label></div><strong>Video</strong> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_1_0" | ||
name="checkbox_select_multiple" type="checkbox" value="vhs"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_1_0">VHS Tape</label></div> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_1_1" | ||
name="checkbox_select_multiple" type="checkbox" value="dvd"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_1_1">DVD</label></div> | ||
<div class="form-check"><input aria-invalid="true" class="form-check-input is-invalid" id="id_checkbox_select_multiple_2" | ||
name="checkbox_select_multiple" type="checkbox" value="unknown"><label class="form-check-label" | ||
for="id_checkbox_select_multiple_2">Unknown</label> | ||
<p class="invalid-feedback" id="error_1_id_checkbox_select_multiple"><strong>This field is | ||
required.</strong></p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="form-text"> | ||
help | ||
</div> | ||
<div class="form-text"> | ||
help | ||
</div> | ||
</fieldset> | ||
</div> | ||
</form> |
Oops, something went wrong.