Added locals to options to properly render haml