File: test_clearable_file_field_failing.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-- 756 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" enctype="multipart/form-data">
    <div id="div_id_clearable_file" class="mb-3">
        <label for="id_clearable_file" class="form-label requiredField">
            Clearable file
            <span class="asteriskField">*</span>
        </label>
        <div class="is-invalid">
            <input
                    type="file"
                    name="clearable_file"
                    class="form-control is-invalid"
                    id="id_clearable_file"
                    required
                    aria-invalid="true"
            >
            <span id="error_1_id_clearable_file" class="invalid-feedback">
                <strong>This field is required.</strong>
            </span>
        </div>
    </div>
</form>