Adding CSS class to template if passed in kwargs