Fix input field (ViewGenerator)

Hi 

Thanks for porting it to bootstrap 3 I came across this thought might as well send a pull.