Render html from some model attributes