added support for custom input class, "form-control" for example