fix(example): correct the type attribute of inputs

and add the correct form-control CSS class