added a input search template mixin