diff --git a/lib/templates/checkbox.mustache b/lib/templates/checkbox.mustache
new file mode 100644
index 00000000000..518e662b2cf
--- /dev/null
+++ b/lib/templates/checkbox.mustache
@@ -0,0 +1,34 @@
+{{!
+ This file is part of Moodle - http://moodle.org/
+
+ Moodle is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ Moodle is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Moodle. If not, see .
+}}
+{{!
+ @template core/checkbox
+
+ Chooser search template.
+
+ Example context (json):
+ {
+ "name": "fullsearch",
+ "id": "fullsearch",
+ "checked": true,
+ "value": "1",
+ "label": "Reset options"
+ }
+}}
+
+
+
+
\ No newline at end of file
diff --git a/lib/templates/search_input.mustache b/lib/templates/search_input.mustache
index 48c20f7b65d..5d47c5ee72d 100644
--- a/lib/templates/search_input.mustache
+++ b/lib/templates/search_input.mustache
@@ -62,5 +62,8 @@
+ {{#otherfields}}
+