FEAT(Asset): Add filter for only cables

This commit is contained in:
2021-12-30 18:49:52 +00:00
parent a01e351e89
commit fdbdaab52e
3 changed files with 8 additions and 0 deletions

View File

@@ -74,6 +74,10 @@
<label for="status" class="sr-only">Status</label>
{% render_field form.status|attr:'multiple'|add_class:'form-control custom-select selectpicker col-sm' data-none-selected-text="Statuses" data-header="Statuses" data-actions-box="true" %}
</div>
<div class="form-check form-check-inline">
{% render_field form.is_cable|add_class:'form-check-input' %}
<label class="form-check-label" for="is_cable">Only Cables?</label>
</div>
<button id="filter-submit" type="submit" class="btn btn-secondary" style="width: 6em">Filter</button>
</form>
</div>