Fix activity search invalid form markup causing submission failures #1481

This commit is contained in:
Matt Scott 2023-03-25 10:00:12 -04:00 committed by GitHub
commit 53cfa4fdaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,8 +39,8 @@
</div> </div>
{% endif %} {% endif %}
</div> </div>
<div class="card-body clearfix"> <form id="history-search-form" autocomplete="off">
<form id="history-search-form" autocomplete="off"> <div class="card-body clearfix">
<ul class="nav nav-tabs" id="custom-content-below-tab" role="tablist"> <ul class="nav nav-tabs" id="custom-content-below-tab" role="tablist">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link active" href="#tabs-act" data-toggle="pill" role="tab"> <a class="nav-link active" href="#tabs-act" data-toggle="pill" role="tab">
@ -144,65 +144,64 @@
</td> </td>
</div> </div>
</td> </td>
</form> </div>
</div> </div>
</div> <div class="card-body">
<div class="card-body"> <table id="Filters-Table">
<table id="Filters-Table"> <thead>
<thead> <th>Filters</th>
<th>Filters</th> </thead>
</thead> <tbody>
<tbody> <tr>
<tr> <td><label>Changed by: &nbsp</label></td>
<td><label>Changed by: &nbsp</label></td> <td>
<td> <div class="autocomplete" style="width:250px;">
<div class="autocomplete" style="width:250px;"> <input type="text" style=" border:1px solid #d2d6de; width:250px; height: 34px;"
<input type="text" style=" border:1px solid #d2d6de; width:250px; height: 34px;" id="user_name_filter" name="user_name_filter" value="">
id="user_name_filter" name="user_name_filter" value=""> </div>
</div> </td>
</td> </tr>
</tr> <tr>
<tr> <td style="position: relative; top:10px;">
<td style="position: relative; top:10px;"> <label>Minimum date: &nbsp</label>
<label>Minimum date: &nbsp</label> </td>
</td> <td style="position: relative; top:10px;">
<td style="position: relative; top:10px;"> <input type="text" id="min" name="min" class="datepicker" autocomplete="off"
<input type="text" id="min" name="min" class="datepicker" autocomplete="off" style=" border:1px solid #d2d6de; width:250px; height: 34px;">
style=" border:1px solid #d2d6de; width:250px; height: 34px;"> </td>
</td> </tr>
</tr> <tr>
<tr> <td style="position: relative; top:20px;">
<td style="position: relative; top:20px;"> <label>Maximum date: &nbsp</label>
<label>Maximum date: &nbsp</label> </td>
</td> <td style="position: relative; top:20px;">
<td style="position: relative; top:20px;"> <input type="text" id="max" name="max" class="datepicker" autocomplete="off"
<input type="text" id="max" name="max" class="datepicker" autocomplete="off" style=" border:1px solid #d2d6de; width:250px; height: 34px;">
style=" border:1px solid #d2d6de; width:250px; height: 34px;"> </td>
</td> </tr>
</tr> <tr>
<tr> <td>&nbsp</td>
<td>&nbsp</td> </tr>
</tr> <tr>
<tr> <td>&nbsp</td>
<td>&nbsp</td> </tr>
</tr> <tr>
<tr> <td>
<td> <button type="submit" id="search-submit" name="search-submit"
<button type="submit" id="search-submit" name="search-submit" class="btn btn-primary button-filter"><i class="fa fa-search"></i>&nbsp;Search
class="btn btn-primary button-filter"><i class="fa fa-search"></i>&nbsp;Search </button>
</button> </td>
</td> <td>
<td> <button id="clear-filters" name="clear-filters"
<button id="clear-filters" name="clear-filters" class="btn btn-warning button-clearf"><i class="fa fa-trash"></i>&nbsp;Clear
class="btn btn-warning button-clearf"><i class="fa fa-trash"></i>&nbsp;Clear Filters
Filters </button>
</button> </td>
</td> </tr>
</tr> </tbody>
</tbody> </table>
</table> </div>
</form> </form>
</div>
<div id="table_from_ajax"></div> <div id="table_from_ajax"></div>
</div> </div>
</section> </section>