input_field uses the same wrapper as input but only with attribute components

closes #938 #823
Merge pull request #942 from plataformatec/issue-938

input_field uses the same wrapper as input but only with attribute components