Revert "Forms: attribute 'type' moved to getControl()"

This reverts commit 50f5859d7ffd0a70261b4a3bcdf2ac23c4266ada.