Add: search form to navbar

This commit is contained in:
Aroy-Art 2024-05-15 12:54:37 +02:00
parent 4308688c80
commit fe1d6c4f8a
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -38,7 +38,17 @@
{% if request.user.is_authenticated %}
{% endif %}
<!-- Search form -->
<li class="nav-item ms-lg-auto mx-2">
<form class="d-flex" role="search">
<div class="input-group me-2">
<input class="form-control" type="search" placeholder="Search" aria-label="Search" aria-describedby="basic-addon1">
<button class="input-group-text nf nf-fa-search" id="search-addon" type="submit"></button>
</div>
</form>
</li>
{% else %}
<!-- Theme Selector -->
<li class="nav-item ms-lg-auto mx-2">