place 'type' not in 'attributes'
uppercase for first char of 'type' of element
Merge branch 'hotfix/817'

Close #817
Merge pull request #836 from samsonasik/fix/form.type

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

Forward port #836