BUG-14031 Missing type attribute in some fields in code  HTML

Type attribute has been added in all fields in the generated HTML
Merge pull request #2363 from norahmollo/BUG-14031

BUG-14031 Missing type attribute in some fields in code  HTML