Split form into partials, added controller test

Use HTML class ```hide``` instead of using ```display: none``` or ```display-none``` (class).