working html generator using erb