How to write if and if-else statements in Haml for a Ruby on Rails application?
if
else
Here are two links:
The first one is a converter- you can enter html or erb snippets and you get haml!