Add input class to base controller