place 'type' not in 'attributes'
uppercase for first char of 'type' of element
Merge pull request #836 from samsonasik/fix/form.type

form : place 'type' not in 'attributes'
Merge branch 'hotfix/836'

Close #836