Code style of registration view; Closes #3745