Skip to content

Commit

Permalink
added icons to search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
rosannamilner committed Feb 11, 2025
1 parent 55cab53 commit 73b747b
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions home/templates/components/search_bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,10 @@
{% endif %}
{% endfor %}
{{ search_form.q }}
<!-- <div class="w-100"> -->
<button type="submit" class="btn btn-primary">
<!-- <i class="bx bxs-search" alt=""></i> -->
Search
</button>

{% if current_search %}
<a href="{{ search_url }}" class="btn btn-outline-secondary">
<!-- <i class="bx bxs-undo" alt=""></i> -->
Clear</a>
{% endif %}
<!-- </div> -->
<button type="submit" class="btn btn-primary"><div class="d-flex flex-row align-items-center"><i class="bx bxs-search" alt=""></i> Search</div></button>
{% if current_search %}
<a href="{{ search_url }}" class="btn btn-light border"><div class="d-flex flex-row align-items-center"><i class="bx bxs-x-circle" alt=""></i> Clear</div></a>
{% endif %}
</form>

</html>

0 comments on commit 73b747b

Please sign in to comment.