Bootstrap.widgets.tbtabs Showing Jquery

How can I show jquery under tab using bootstrap.widgets.TbTabs. For example for text content we use ‘content’=>‘text’ but what if I want to show some jquery pie chart how can I do this?

What if I have to include <?php echo Yii::app()->user->name ?> in the tab content? How can I achieve this?

When working with tabs that display anything but static text, I usually have a partial view for every tab. Thus the code looks like this:

content => $this->renderPartial('_tab_whatever', array('model'=>$model), true)

Thanks Patrick for the suggestion.