From ba8ecf19ac9ec114f07a4d33324ddb40e84b78f2 Mon Sep 17 00:00:00 2001 From: Robin Klaus Date: Sat, 16 May 2020 12:56:06 +1000 Subject: [PATCH] Added input code to two additional pages to cover shop tab search boxes --- app/views/groups/index.html.haml | 7 +++++-- app/views/shared/components/_enterprise_search.html.haml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/app/views/groups/index.html.haml b/app/views/groups/index.html.haml index 1994d30fee..db400541b0 100644 --- a/app/views/groups/index.html.haml +++ b/app/views/groups/index.html.haml @@ -14,9 +14,11 @@ #active-table-search.row.pad-top .small-12.columns %p - %input{type: :text, - "ng-model" => "query", + %input{type: "search", + "ng-model" => "search", placeholder: t(:groups_search), + inputmode: "search", + name: "search", "ng-debounce" => "150", "ofn-disable-enter" => true} @@ -45,3 +47,4 @@ = t :groups_no_groups = render partial: "shared/footer" + diff --git a/app/views/shared/components/_enterprise_search.html.haml b/app/views/shared/components/_enterprise_search.html.haml index 4bb7ca446b..eb81fbdf26 100644 --- a/app/views/shared/components/_enterprise_search.html.haml +++ b/app/views/shared/components/_enterprise_search.html.haml @@ -1,7 +1,10 @@ #active-table-search.row .small-12.columns - %input{type: :text, - "ng-model" => "query", + %input{type: "search", + "ng-model" => "search", placeholder: t('search_by_name'), + inputmode: "search", + name: "name", "ng-debounce" => "500", "ofn-disable-enter" => true} +