fix: change search form to search modal btn

This commit is contained in:
mostafaei2002 2024-05-14 09:52:12 +03:30
parent ea66c941bb
commit 44dd71c7c7

View File

@ -139,17 +139,16 @@
</ul> </ul>
{% endif %} {% endif %}
<form class="d-flex mx-auto" role="search">
<input
class="form-control me-2"
type="search"
placeholder="Search"
aria-label="Search"
/>
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
<div class="d-flex gap-2"> <div class="d-flex gap-2">
<a
id="search_modal_btn"
class="btn btn-sm btn-secondary"
href="#search_modal"
data-bs-toggle="modal"
data-bs-target="#search_modal"
>
Search
</a>
<!-- prettier-ignore --> <!-- prettier-ignore -->
<a <a
{% if page.previous_page %}href="{{ page.previous_page.url|url }}"{% endif %} {% if page.previous_page %}href="{{ page.previous_page.url|url }}"{% endif %}