replace erb template with haml one