Move html into views