Rewritten ems_infra view to HAML