fix type='email' fields rendering

fixes #54