Improve readability of configuration view partials.
Review response - rewritten repeated statements
Used variables's length method instead of constant.