refactor: rename template search

This commit is contained in:
2025-06-19 07:53:10 +02:00
parent 42dbf5c6f7
commit c131c07afe
2 changed files with 2 additions and 2 deletions

View File

@@ -185,10 +185,10 @@ def search_important_locations(request, important_location_slug):
"zoom_level": zoom_level_for_radius(search.max_distance),
"geocoding_api_url": settings.GEOCODING_API_URL,
"show_ANs": True}
return render(request, 'fellchensammlung/bulma-search.html', context=context)
return render(request, 'fellchensammlung/search.html', context=context)
def search(request, templatename="fellchensammlung/bulma-search.html"):
def search(request, templatename="fellchensammlung/search.html"):
# A user just visiting the search site did not search, only upon completing the search form a user has really
# searched. This will toggle the "subscribe" button
searched = False