geese do things right the first time challenge (impossible)

master
gooseman 2022-08-07 18:44:35 -07:00
parent c8ae56cbbf
commit a10a177106
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@
{% block PseudoSubmitForm %}{% endblock %}
{% block navbar %}
<form class="form-inline search flex-nowrap mx-0 mx-lg-auto" action="/search/posts" method="get">
<input autocomplete="off" class="form-control w-100" type="search" placeholder="Search" aria-label="Search" name="q" value="asd">
<form class="form-inline search flex-nowrap mx-0 mx-lg-auto" action="/search/{% if '/posts' in request.path %}posts{% elif '/comments' in request.path %}comments{% else %}users{% endif %}" method="get" style="padding-top:42px">
<input autocomplete="off" class="form-control w-100" type="search" placeholder="Search" aria-label="Search" name="q" value="{{query}}">
<span class="input-group-append">
<span class="input-group-text border-0 bg-transparent" style="margin-left: -2.5rem;">
<i class="fa fa-search" aria-hidden="true"></i>