rewritten part of configuration view partials to HAML

`hours` array is needed, so I could print hours interval, starting as `12-1`. Without array i would get `-1-0` instead of `12-1` in first iteration.