mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-28 04:24:00 +03:00
fix: change search form to search modal btn
This commit is contained in:
parent
ea66c941bb
commit
44dd71c7c7
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user