Migrate app layout to HAML.