convert checkout to haml