added class attributes for <input> elements