Use eco template instead of inline HTML