Fixed the registration/edit layout