File: test_tabular_formset_layout.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 (107 lines) | stat: -rw-r--r-- 8,376 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<form method="post">
<div> <input type="hidden" name="form-TOTAL_FORMS" value="3" id="id_form-TOTAL_FORMS"> <input type="hidden"
    name="form-INITIAL_FORMS" value="0" id="id_form-INITIAL_FORMS"> <input type="hidden" name="form-MIN_NUM_FORMS"
    value="0" id="id_form-MIN_NUM_FORMS"> <input type="hidden" name="form-MAX_NUM_FORMS" value="1000"
    id="id_form-MAX_NUM_FORMS"> </div>
<table class="table table-striped table-sm">
    <thead>
    <tr>
        <th for="id_form-0-is_company" class=""> company </th>
        <th for="id_form-0-email" class="requiredField"> email<span class="asteriskField">*</span>
        </th>
        <th for="id_form-0-password1" class="requiredField"> password<span
            class="asteriskField">*</span> </th>
        <th for="id_form-0-password2" class="requiredField"> re-enter password<span
            class="asteriskField">*</span> </th>
        <th for="id_form-0-first_name" class="requiredField"> first name<span
            class="asteriskField">*</span> </th>
        <th for="id_form-0-last_name" class="requiredField"> last name<span
            class="asteriskField">*</span> </th>
        <th for="id_form-0-datetime_field" class="requiredField"> date time<span
            class="asteriskField">*</span> </th>
    </tr>
    </thead>
    <tbody>
    <tr class="d-none empty-form">
        <td id="div_id_form-__prefix__-is_company" class="mb-3"> <input type="checkbox"
            name="form-__prefix__-is_company" class="checkboxinput form-check-input"
            id="id_form-__prefix__-is_company"> </td>
        <td id="div_id_form-__prefix__-email" class="mb-3"> <input type="text" name="form-__prefix__-email"
            maxlength="30" class="textinput textInput inputtext form-control" id="id_form-__prefix__-email"
            aria-describedby="id_form-__prefix__-email_helptext"> <div
            id="id_form-__prefix__-email_helptext" class="form-text">Insert your email</div> </td>
        <td id="div_id_form-__prefix__-password1" class="mb-3"> <input type="password"
            name="form-__prefix__-password1" maxlength="30" class="textinput textInput form-control"
            id="id_form-__prefix__-password1"> </td>
        <td id="div_id_form-__prefix__-password2" class="mb-3"> <input type="password"
            name="form-__prefix__-password2" maxlength="30" class="textinput textInput form-control"
            id="id_form-__prefix__-password2"> </td>
        <td id="div_id_form-__prefix__-first_name" class="mb-3"> <input type="text" name="form-__prefix__-first_name"
            maxlength="5" class="textinput textInput inputtext form-control" id="id_form-__prefix__-first_name"> </td>
        <td id="div_id_form-__prefix__-last_name" class="mb-3"> <input type="text" name="form-__prefix__-last_name"
            maxlength="5" class="textinput textInput inputtext form-control" id="id_form-__prefix__-last_name"> </td>
        <td id="div_id_form-__prefix__-datetime_field" class="mb-3"> <input type="text"
            name="form-__prefix__-datetime_field_0" class="dateinput form-control"
            id="id_form-__prefix__-datetime_field_0"><input type="text" name="form-__prefix__-datetime_field_1"
            class="timeinput form-control" id="id_form-__prefix__-datetime_field_1"> </td>
    </tr>
    <tr>
        <td id="div_id_form-0-is_company" class="mb-3"> <input type="checkbox" name="form-0-is_company"
            class="checkboxinput form-check-input" id="id_form-0-is_company"> </td>
        <td id="div_id_form-0-email" class="mb-3"> <input type="text" name="form-0-email" maxlength="30"
            class="textinput textInput inputtext form-control" id="id_form-0-email"
            aria-describedby="id_form-0-email_helptext" > <div id="id_form-0-email_helptext"
            class="form-text">Insert your email</div> </td>
        <td id="div_id_form-0-password1" class="mb-3"> <input type="password" name="form-0-password1" maxlength="30"
            class="textinput textInput form-control" id="id_form-0-password1"> </td>
        <td id="div_id_form-0-password2" class="mb-3"> <input type="password" name="form-0-password2" maxlength="30"
            class="textinput textInput form-control" id="id_form-0-password2"> </td>
        <td id="div_id_form-0-first_name" class="mb-3"> <input type="text" name="form-0-first_name" maxlength="5"
            class="textinput textInput inputtext form-control" id="id_form-0-first_name"> </td>
        <td id="div_id_form-0-last_name" class="mb-3"> <input type="text" name="form-0-last_name" maxlength="5"
            class="textinput textInput inputtext form-control" id="id_form-0-last_name"> </td>
        <td id="div_id_form-0-datetime_field" class="mb-3"> <input type="text" name="form-0-datetime_field_0"
            class="dateinput form-control" id="id_form-0-datetime_field_0"><input type="text"
            name="form-0-datetime_field_1" class="timeinput form-control" id="id_form-0-datetime_field_1"> </td>
    </tr>
    <tr>
        <td id="div_id_form-1-is_company" class="mb-3"> <input type="checkbox" name="form-1-is_company"
            class="checkboxinput form-check-input" id="id_form-1-is_company"> </td>
        <td id="div_id_form-1-email" class="mb-3"> <input type="text" name="form-1-email" maxlength="30"
            class="textinput textInput inputtext form-control" id="id_form-1-email"
            aria-describedby="id_form-1-email_helptext" > <div id="id_form-1-email_helptext"
            class="form-text">Insert your email</div> </td>
        <td id="div_id_form-1-password1" class="mb-3"> <input type="password" name="form-1-password1" maxlength="30"
            class="textinput textInput form-control" id="id_form-1-password1"> </td>
        <td id="div_id_form-1-password2" class="mb-3"> <input type="password" name="form-1-password2" maxlength="30"
            class="textinput textInput form-control" id="id_form-1-password2"> </td>
        <td id="div_id_form-1-first_name" class="mb-3"> <input type="text" name="form-1-first_name" maxlength="5"
            class="textinput textInput inputtext form-control" id="id_form-1-first_name"> </td>
        <td id="div_id_form-1-last_name" class="mb-3"> <input type="text" name="form-1-last_name" maxlength="5"
            class="textinput textInput inputtext form-control" id="id_form-1-last_name"> </td>
        <td id="div_id_form-1-datetime_field" class="mb-3"> <input type="text" name="form-1-datetime_field_0"
            class="dateinput form-control" id="id_form-1-datetime_field_0"><input type="text"
            name="form-1-datetime_field_1" class="timeinput form-control" id="id_form-1-datetime_field_1"> </td>
    </tr>
    <tr>
        <td id="div_id_form-2-is_company" class="mb-3"> <input type="checkbox" name="form-2-is_company"
            class="checkboxinput form-check-input" id="id_form-2-is_company"> </td>
        <td id="div_id_form-2-email" class="mb-3"> <input type="text" name="form-2-email" maxlength="30"
            class="textinput textInput inputtext form-control" id="id_form-2-email"
            aria-describedby="id_form-2-email_helptext" > <div id="id_form-2-email_helptext"
            class="form-text">Insert your email</div> </td>
        <td id="div_id_form-2-password1" class="mb-3"> <input type="password" name="form-2-password1" maxlength="30"
            class="textinput textInput form-control" id="id_form-2-password1"> </td>
        <td id="div_id_form-2-password2" class="mb-3"> <input type="password" name="form-2-password2" maxlength="30"
            class="textinput textInput form-control" id="id_form-2-password2"> </td>
        <td id="div_id_form-2-first_name" class="mb-3"> <input type="text" name="form-2-first_name" maxlength="5"
            class="textinput textInput inputtext form-control" id="id_form-2-first_name"> </td>
        <td id="div_id_form-2-last_name" class="mb-3"> <input type="text" name="form-2-last_name" maxlength="5"
            class="textinput textInput inputtext form-control" id="id_form-2-last_name"> </td>
        <td id="div_id_form-2-datetime_field" class="mb-3"> <input type="text" name="form-2-datetime_field_0"
            class="dateinput form-control" id="id_form-2-datetime_field_0"><input type="text"
            name="form-2-datetime_field_1" class="timeinput form-control" id="id_form-2-datetime_field_1"> </td>
    </tr>
    </tbody>
</table>
</form>