forked from rDrama/rDrama
1
0
Fork 0

Fix "Create Post" appearing on /search.

Also think this is the last template that was extending home.html when
extending default.html would be more proper.
master
Snakes 2022-09-06 03:17:30 -04:00
parent 833a74749e
commit b568ea51a8
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{% extends "home.html" %}
{% extends "default.html" %}
{% block pagetype %}search{% endblock %}
@ -7,7 +7,7 @@
{% endblock %}
{% block PseudoSubmitForm %}
<form id="large_searchbar" class="form-inline search flex-nowrap mx-0 mx-lg-auto mt-1" action="/search/{% if '/posts' in request.path %}posts{% elif '/comments' in request.path %}comments{% else %}users{% endif %}" method="get">
<form id="large_searchbar" class="form-inline search flex-nowrap mx-0 mx-lg-auto mt-3" action="/search/{% if '/posts' in request.path %}posts{% elif '/comments' in request.path %}comments{% else %}users{% endif %}" method="get">
<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;">