File: inline_checkboxes_failing_lt50.html

package info (click to toggle)
python-crispy-bootstrap5 2024.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 664 kB
  • sloc: python: 1,949; sh: 6; makefile: 3
file content (22 lines) | stat: -rw-r--r-- 1,248 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<form method="post">
    <div id="div_id_checkboxes" class="mb-3">
        <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 is-invalid"  name="checkboxes" value="1"  id="id_checkboxes_0">
                <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 is-invalid"  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 is-invalid"  name="checkboxes" value="3"  id="id_checkboxes_2">
                <label for="id_checkboxes_2" class="form-check-label">Option three</label>
            </div>
        </div>
        <p id="error_1_id_checkboxes" class="invalid-feedback"><strong>This field is required.</strong></p>
        </fieldset>
    </div>
</form>