add css classes to input fields