Update widgets/TbActiveForm.php

input attribute can be decide by type so I remove it and lite some code