File: test_switch_horizontal.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 (13 lines) | stat: -rw-r--r-- 867 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
<form class="form-horizontal" method="post">
    <div id="div_id_is_company" class="mb-3 form-check form-switch row">
        <div class="offset-lg-2 col-lg-8">
            <input type="checkbox" name="is_company" class="checkboxinput form-check-input" role="checkbox" id="id_is_company" />
            <label for="id_is_company" class="form-check-label">company</label>
            <div id="id_is_company_helptext" class="form-text">is_company help text</div>
        </div>
    </div>
    <div id="div_id_first_name" class="mb-3 row">
        <label for="id_first_name" class="col-form-label col-lg-2 pt-0 requiredField">first name<span class="asteriskField">*</span> </label>
        <div class="col-lg-8"><input type="text" name="first_name" maxlength="5" class="textinput textInput inputtext form-control" required id="id_first_name" /></div>
    </div>
</form>