Fix support for type='number' and type='integer'

Fix support for type='number' and type='integer' as they supposed to use stringField.html template, because both integerField and numberField templates does not exist.