refactor html to haml in "my post"