From 8da51e1aead32697c214250b72a577f7cf9f31f4 Mon Sep 17 00:00:00 2001 From: Thorge Petersen <petersen@rz.uni-kiel.de> Date: Thu, 23 Mar 2023 10:24:50 +0100 Subject: [PATCH] Fixed organisation search form wrapper --- ckanext/odsh/templates/organization/index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ckanext/odsh/templates/organization/index.html b/ckanext/odsh/templates/organization/index.html index 9689c3fa..45009cd2 100644 --- a/ckanext/odsh/templates/organization/index.html +++ b/ckanext/odsh/templates/organization/index.html @@ -31,10 +31,11 @@ icon='plus-square' %} {% endif %} <h1 class="hide-heading">{% block page_heading %}{{ _('Organizations') }}{% endblock %}</h1> - {% block organizations_search_form %} - {% snippet 'snippets/search_form.html', form_id='organization-search-form', type=group_type, query=q, sorting_selected=sort_by_selected, count=page.item_count, placeholder=_('Search organizations...'), show_empty=request.args, no_bottom_border=true if page.items, sorting = [(_('Name Ascending'), 'title asc'), (_('Name Descending'), 'title desc')] %} - {% endblock %} - + <div class="search-form"> + {% block organizations_search_form %} + {% snippet 'snippets/search_form.html', form_id='organization-search-form', type=group_type, query=q, sorting_selected=sort_by_selected, count=page.item_count, placeholder=_('Search organizations...'), show_empty=request.args, no_bottom_border=true if page.items, sorting = [(_('Name Ascending'), 'title asc'), (_('Name Descending'), 'title desc')] %} + {% endblock %} + </div> {% block organizations_list %} {% if c.page.items or request.args %} {% if c.page.items %} -- GitLab