1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from django.core.urlresolvers import reverse
6 from search.forms import SearchForm
9 def search_form(request):
10 return {'search_form': SearchForm(reverse('search_hint') + '?max=10', request.GET)}