From bf3e63a75b8fbc9d613ec3fd6289a178731692e4 Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Mon, 5 Jul 2010 02:42:01 -0500 Subject: Bug 455810 - Add autocomplete support to the keywords field * Special thanks to Guy Pyrzak for the original patch [r=mkanat a=mkanat] --- template/en/default/search/field.html.tmpl | 35 +++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) (limited to 'template/en/default/search/field.html.tmpl') diff --git a/template/en/default/search/field.html.tmpl b/template/en/default/search/field.html.tmpl index 50a2f0c06..d4a1a30b7 100644 --- a/template/en/default/search/field.html.tmpl +++ b/template/en/default/search/field.html.tmpl @@ -15,6 +15,7 @@ # Initial Developer. All Rights Reserved. # # Contributor(s): Guy Pyrzak + # Reed Loden # #%] [%# INTERFACE: @@ -35,16 +36,41 @@ tag_name = "span" editable = 1 %] - [% INCLUDE "search/type-select.html.tmpl" name = field.name _ "_type", types = types, - selected = type_selected %] - + selected = type_selected + %] + [% CASE constants.FIELD_TYPE_KEYWORDS %] + [% INCLUDE "bug/field-label.html.tmpl" + field = field + tag_name = "span" + editable = 1 + %] + [% INCLUDE "search/type-select.html.tmpl" + name = field.name _ "_type", + types = types, + selected = type_selected + %] +
+ +
+
+ [% CASE constants.FIELD_TYPE_DATETIME %] [% INCLUDE "bug/field-label.html.tmpl" field = field @@ -113,5 +139,4 @@ [% END %] - [% END %] - \ No newline at end of file + [% END %] -- cgit v1.2.3-24-g4f1b