convert hr to haml