add the class of input