I'm not sure I like passing in an extra local to the haml file. It might be better to create an example class instead of the hash to move this into. I had a branch that started on this, I'll look into updating it.