Skip to content
Snippets Groups Projects
Commit 8da51e1a authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Fixed organisation search form wrapper

parent 28365cc5
Branches
Tags
2 merge requests!41Version 2.0.0,!38Merge py3 into dev
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment