Added FormInput.type to div container.

This makes it easier for designers to style the different form input
types differently.