convert devise erb to haml