add closing html tag to haml template