-
-
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. (#158)
- Loading branch information
Showing
20 changed files
with
263 additions
and
224 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,19 +1,21 @@ | ||
<form method="post"> | ||
<div id="div_id_checkboxes" class="mb-3"> | ||
<label for="" class=" form-label requiredField">Checkboxes<span class="asteriskField">*</span></label> | ||
<div> | ||
<div class="form-check form-check-inline"> | ||
<input type="checkbox" class="form-check-input" name="checkboxes" value="1" id="id_checkboxes_0" checked> | ||
<label for="id_checkboxes_0" class="form-check-label">Option one</label> | ||
<fieldset> | ||
<legend for="" class=" form-label requiredField">Checkboxes<span class="asteriskField">*</span></legend> | ||
<div> | ||
<div class="form-check form-check-inline"> | ||
<input type="checkbox" class="form-check-input" name="checkboxes" value="1" id="id_checkboxes_0" checked> | ||
<label for="id_checkboxes_0" class="form-check-label">Option one</label> | ||
</div> | ||
<div class="form-check form-check-inline"> | ||
<input type="checkbox" class="form-check-input" name="checkboxes" value="2" id="id_checkboxes_1"> | ||
<label for="id_checkboxes_1" class="form-check-label">Option two</label> | ||
</div> | ||
<div class="form-check form-check-inline"> | ||
<input type="checkbox" class="form-check-input" name="checkboxes" value="3" id="id_checkboxes_2"> | ||
<label for="id_checkboxes_2" class="form-check-label">Option three</label> | ||
</div> | ||
</div> | ||
<div class="form-check form-check-inline"> | ||
<input type="checkbox" class="form-check-input" name="checkboxes" value="2" id="id_checkboxes_1"> | ||
<label for="id_checkboxes_1" class="form-check-label">Option two</label> | ||
</div> | ||
<div class="form-check form-check-inline"> | ||
<input type="checkbox" class="form-check-input" name="checkboxes" value="3" id="id_checkboxes_2"> | ||
<label for="id_checkboxes_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
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,15 +1,17 @@ | ||
<form method="post"> | ||
<div id="div_id_inline_radios" class="mb-3"> | ||
<label for="" class=" form-label requiredField">Inline radios<span class="asteriskField">*</span></label> | ||
<div> | ||
<div class="form-check form-check-inline"> | ||
<input type="radio" class="form-check-input" name="inline_radios" value="option_one" id="id_inline_radios_0" required> | ||
<label for="id_inline_radios_0" class="form-check-label">Option one</label> | ||
<fieldset> | ||
<legend for="" class=" form-label requiredField">Inline radios<span class="asteriskField">*</span></legend> | ||
<div> | ||
<div class="form-check form-check-inline"> | ||
<input type="radio" class="form-check-input" name="inline_radios" value="option_one" id="id_inline_radios_0" required> | ||
<label for="id_inline_radios_0" class="form-check-label">Option one</label> | ||
</div> | ||
<div class="form-check form-check-inline"> | ||
<input type="radio" class="form-check-input" name="inline_radios" value="option_two" id="id_inline_radios_1" required checked> | ||
<label for="id_inline_radios_1" class="form-check-label">Option two</label> | ||
</div> | ||
</div> | ||
<div class="form-check form-check-inline"> | ||
<input type="radio" class="form-check-input" name="inline_radios" value="option_two" id="id_inline_radios_1" required checked> | ||
<label for="id_inline_radios_1" class="form-check-label">Option two</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
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,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> |
Oops, something went wrong.