Move html to templates.