Rewritten dashboard view to HAML