remove layout to haml format