uses an erb template and html