added search by tag (#8)

This commit is contained in:
Mattijs Vanhaverbeke
2020-05-16 14:24:38 +02:00
parent 5c4c6be745
commit 33d7157b12
8 changed files with 82 additions and 8 deletions
@@ -24,7 +24,7 @@
<strong>Search</strong>
</div>
<div class="panel-body">
<form id="search-form" class="form">
<form id="search-form" class="form" autocomplete="off">
{% csrf_token %}
<div class="form-group">
<label for="name">Name</label>
@@ -37,6 +37,10 @@
<div class="form-group">
<label for="sites">Sites</label>
<select class="form-control" multiple="multiple" id="sites"></select>
</div>
<div class="form-group">
<label for="tags">Tags</label>
<select class="form-control" multiple="multiple" id="tags"></select>
</div>
<hr class="mb-4">
<button class="btn btn-primary btn-lg btn-block" type="submit" id="start-search">Search</button>