File: inline_checkboxes.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 (21 lines) | stat: -rw-r--r-- 1,168 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
<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" 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>
        </fieldset>
    </div>
</form>