Skip to content

Commit

Permalink
Setup Search Page to Used New Beta SearchView.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhiiva committed Jul 23, 2021
1 parent b27f7c1 commit f62f3f0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions agagd/jinja2/beta.base.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,20 @@ <h6 class="header-subtext">
</h6>
</div>

<div class="col-12 col-md-6">
<form class="form-inline justify-content-md-end my-2 my-lg-0" action="{{ url("search") }}" method="get">
<input class="form-control mr-sm-2" type="search" name="q" placeholder="Player Name or AGA ID" aria-label="Search">
</form>
</div>
{% if not url("search") in request.path %}
<div class="col-12 col-md-6">
<form class="form-inline justify-content-md-end my-2 my-lg-0" action="{{ url("beta:search") }}" method="get">
<input class="form-control mr-sm-2" type="search" name="q" placeholder="Player Name or AGA ID" aria-label="Search">
</form>
</div>
{% endif %}
</header>

<main class="main-content">
{% block content %}{% endblock content %}
</main>

<footer class="footer mx-3">
<footer class="footer">
<nav class="footer-nav">
{% block footer_nav %}
<section class="container footer-nav-sections">
Expand Down

0 comments on commit f62f3f0

Please sign in to comment.