Migrate view to HAML.