diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2021-02-03 16:02:22 +0100 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2021-02-03 16:02:22 +0100 |
commit | f9a2b7f0b65625c138a2620a7cbb10e53ea53a42 (patch) | |
tree | 823f3d41a8744ccd08a76a0f4c3a5514edc1a15a | |
parent | 6a978f67a396cdd2b8c8006fa7a0841c29d17eb1 (diff) |
Aggiorna template
-rw-r--r-- | templates/web/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base.html b/templates/web/base.html index ecf8f06..018d66a 100644 --- a/templates/web/base.html +++ b/templates/web/base.html @@ -112,7 +112,7 @@ </header> {% block content %}{% endblock %} <footer> - <form method="get" action="{{ url_for('search') }}"><input name="q" placeholder="cerca..." value="{{ q }}"></form> + <form method="get" action="{{ url_for('search') }}"><input name="q" placeholder="cerca..." value="{% if q %}{{ q }}{% endif %}"></form> </footer> <footer> <small> |