Add template ui for searching