Add HTML attributes to widget elements in register form.