Integrate html into model