rewriten parts of configuration to HAML
Improve readability of configuration view partials.
Review response - rewritten repeated statements
Used variables's length method instead of constant.
Merge pull request #483 from romanblanco/erb2haml

rewritten part of configuration view partials to HAML