Refactor rest of app into haml, but unable to get popup working in view directly