Search template emits both old-style and new-style classes (mkwsQuery
authorMike Taylor <mike@indexdata.com>
Fri, 17 Oct 2014 16:49:50 +0000 (17:49 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 17 Oct 2014 16:49:50 +0000 (17:49 +0100)
and mkws-query) so that existing CSS rules will continue to work.

src/mkws.templates/Search.handlebars

index 03c827b..182b852 100644 (file)
@@ -5,7 +5,7 @@ team - MKWS team
 queryWidth - configured width for search box
 }}
 <form name="mkws-search-form" class="mkws-search-form mkws-team-{{team}}" action="">
-  <input class="mkws-query mkws-team-{{team}}" type="text" size="{{queryWidth}}">
-  <input class="mkws-button mkws-team-{{team}}" type="submit" value="{{{mkws-translate "Search"}}}">
+  <input class="mkws-query mkwsQuery mkws-team-{{team}}" type="text" size="{{queryWidth}}">
+  <input class="mkws-button mkwsButton mkws-team-{{team}}" type="submit" value="{{{mkws-translate "Search"}}}">
 </form>