[3.8] Fix #1675 Display issue in registration template