{% comment %} Show a detail table Search field and Rows per page. Input: objects, our boilerplated paginated with search fields set. object_count, count of full, unfiltered, objects list search_what, fills in "Search ___" Only show the search form if we have more than 10 results, or if return from a previous search. {% endcomment %} {% if objects.paginator.count > 10 or request.GET.search %} {% if objects.paginator.count == 0 %}