template: mod search button to a, and make it work