Code style of registration view