rewritten part of configuration view partials to HAML

I'd suggest introducing
```url_json = {:url => url}.to_json``` and use this below to improve readability