Add: search form to navbar
This commit is contained in:
parent
4308688c80
commit
fe1d6c4f8a
1 changed files with 13 additions and 3 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue