template for livesearch