-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed field_class applied two times for field_file #108
- Loading branch information
Showing
5 changed files
with
35 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
<form method="post" enctype="multipart/form-data"> | ||
<form method="post" enctype="multipart/form-data"> | ||
<div id="div_id_clearable_file" class="mb-3"> | ||
<label for="id_clearable_file" class="form-label">Clearable file</label> | ||
<div class=" mb-2"> | ||
<div class="input-group mb-2"> | ||
<span class="input-group-text">Currently</span> | ||
<div class="form-control d-flex h-auto"> | ||
<span class="text-break" style="flex-grow:1;min-width:0"> | ||
<a href="something"></a> | ||
<div class="input-group mb-2"> | ||
<span class="input-group-text">Currently</span> | ||
<div class="form-control d-flex h-auto"> | ||
<span class="text-break" style="flex-grow:1;min-width:0"> | ||
<a href="something"></a> | ||
</span> | ||
<span class="align-self-center ml-2"> | ||
<span class="form-check"> | ||
<input type="checkbox" name="clearable_file-clear" id="clearable_file-clear_id" | ||
class="form-check-input"> | ||
<label class="form-check-label mb-0" for="clearable_file-clear_id">Clear</label> | ||
</span> | ||
<span class="align-self-center ml-2"> | ||
<span class="form-check"> | ||
<input type="checkbox" name="clearable_file-clear" id="clearable_file-clear_id" class="form-check-input" > | ||
<label class="form-check-label mb-0" for="clearable_file-clear_id">Clear</label> | ||
</span> | ||
</span> | ||
</div> | ||
</div> | ||
<div> | ||
<input type="file" name="clearable_file" class="form-control" id="id_clearable_file"> | ||
</span> | ||
</div> | ||
</div> | ||
<div> | ||
<input type="file" name="clearable_file" class="form-control" id="id_clearable_file"> | ||
</div> | ||
</div> | ||
</form> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
<form method="post" enctype="multipart/form-data"> | ||
<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=" mb-2"> | ||
<div class="is-invalid"> | ||
<input type="file" name="clearable_file" class="form-control is-invalid" id="id_clearable_file" required> | ||
<span id="error_1_id_clearable_file" class="invalid-feedback"> | ||
<strong>This field is required.</strong> | ||
</span> | ||
</div> | ||
<div class="is-invalid"> | ||
<input type="file" name="clearable_file" class="form-control is-invalid" id="id_clearable_file" required> | ||
<span id="error_1_id_clearable_file" class="invalid-feedback"> | ||
<strong>This field is required.</strong> | ||
</span> | ||
</div> | ||
</div> | ||
</form> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<form method="post" enctype="multipart/form-data"> | ||
<form method="post" enctype="multipart/form-data"> | ||
<div id="div_id_file_field" class="mb-3"> | ||
<label for="id_file_field" class="form-label requiredField"> | ||
File field | ||
<span class="asteriskField">*</span> | ||
</label> | ||
<div class=" mb-2"> | ||
<div> | ||
<input type="file" name="file_field" class="form-control" id="id_file_field" required> | ||
</div> | ||
<div> | ||
<input type="file" name="file_field" class="form-control" id="id_file_field" required> | ||
</div> | ||
</div> | ||
</form> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
<form method="post" enctype="multipart/form-data"> | ||
<form method="post" enctype="multipart/form-data"> | ||
<div id="div_id_file_field" class="mb-3"> | ||
<label for="id_file_field" class="form-label requiredField"> | ||
File field | ||
<span class="asteriskField">*</span> | ||
</label> | ||
<div class=" mb-2"> | ||
<div class="is-invalid"> | ||
<input type="file" name="file_field" class="form-control is-invalid" id="id_file_field" required> | ||
<span id="error_1_id_file_field" class="invalid-feedback"> | ||
<strong>This field is required.</strong> | ||
</span> | ||
</div> | ||
<div class="is-invalid"> | ||
<input type="file" name="file_field" class="form-control is-invalid" id="id_file_field" required> | ||
<span id="error_1_id_file_field" class="invalid-feedback"> | ||
<strong>This field is required.</strong> | ||
</span> | ||
</div> | ||
</div> | ||
</form> | ||
</form> |