rewritten part of configuration view partials to HAML

this is a bug in the original code
this introduces variable ```value``` as side affect
please, fix it