Small haml refactor