extract helper html to view file