fix: Handle if place of search is not found

This commit is contained in:
2024-09-28 22:47:39 +02:00
parent d55d22b86c
commit 32eb7e8083
3 changed files with 21 additions and 6 deletions

View File

@@ -9,5 +9,8 @@
{{ search_form.as_p }}
<input class="btn" type="submit" value="Search" name="search">
</form>
{% if not place_found %}
<p class="error">{% translate "Ort nicht gefunden" %}</p>
{% endif %}
{% include "fellchensammlung/lists/list-adoption-notices.html" %}
{% endblock %}