diff --git a/opentech/apply/funds/templates/funds/base_submissions_table.html b/opentech/apply/funds/templates/funds/base_submissions_table.html index b4eb92b96dab3f995bc3ede69718f468ad97cb49..0a620e2f6d1ab662dd126032491b9844c9ff812c 100644 --- a/opentech/apply/funds/templates/funds/base_submissions_table.html +++ b/opentech/apply/funds/templates/funds/base_submissions_table.html @@ -9,7 +9,7 @@ {% block content %} {% block table %} - {% include "funds/includes/table_filter_and_search.html" with filter_form=filter_form search_term=search_term %} + {% include "funds/includes/table_filter_and_search.html" with filter_form=filter_form search_term=search_term use_search=True%} {% render_table table %} {% endblock %} diff --git a/opentech/apply/funds/templates/funds/includes/table_filter_and_search.html b/opentech/apply/funds/templates/funds/includes/table_filter_and_search.html index e12031c16919d71c849c98f9944269c03733f402..e16e71eff438a83a7afab0b5599d177d6452ffbc 100644 --- a/opentech/apply/funds/templates/funds/includes/table_filter_and_search.html +++ b/opentech/apply/funds/templates/funds/includes/table_filter_and_search.html @@ -1,12 +1,14 @@ <div class="wrapper wrapper--table-actions"> <button class="button button--filters button--contains-icons js-toggle-filters">Filters</button> + {% if use_search|default:False %} <form method="get" role="search" class="form form--search-desktop js-search-form"> <button class="button button--search" type="submit" aria-label="Search"> <svg class="icon icon--magnifying-glass icon--search"><use xlink:href="#magnifying-glass"></use></svg> </button> <input class="input input--search js-search-input" type="text" placeholder="Search submissions" name="query"{% if search_term %} value="{{ search_term }}"{% endif %} aria-label="Search input"> </form> + {% endif %} </div> <div class="filters">