convert view files to haml