refactor layout application ( erb => haml )