title: Yii Booster Wizard Form Widget Content
body: <p>I am trying to put in the content of a wizard form of yiibooster a widget, but i can't make it work. The idea is the customer to have a step by step form, selecting in each content some data.</p>
  
  <p>The widget is this:</p>
  
  <pre><code>$this-&gt;widget(
  'bootstrap.widgets.TbWizard',
  array(
      'type' =&gt; 'tabs', // 'tabs' or 'pills'
      'pagerContent' =&gt; '&lt;div style="float:right"&gt;
                  &lt;input type="button" class="btn button-next" name="next" value="Siguiente" /&gt;
              &lt;/div&gt;
              &lt;div style="float:left"&gt;
                  &lt;input type="button" class="btn button-previous" name="previous" value="Atrás" /&gt;
              &lt;/div&gt;
              &lt;br /&gt;&lt;br /&gt;',
      'options' =&gt; array(
          'nextSelector' =&gt; '.button-next',
          'previousSelector' =&gt; '.button-previous',
          'onTabShow' =&gt; 'js:function(tab, navigation, index) {
                      var $total = navigation.find("li").length;
                      var $current = index+1;
                      var $percent = ($current/$total) * 100;
                      $("#wizard-bar &gt; .bar").css({width:$percent+"%"});
          }',
          'onTabClick' =&gt; 'js:function(tab, navigation, index) {alert("Tab Click Disabled");return false;}',
      ),
      'tabs' =&gt; array(
          array(
              'label' =&gt; 'Arrendatarios',
              'content' =&gt; 'Home Content',
              'active' =&gt; true
          ),
          array('label' =&gt; 'Inmuebles', 'content' =&gt; 'Profile Content'),
          array('label' =&gt; 'Fecha', 'content' =&gt; 'Messages Content'),
      ),
  )
  </code></pre>
  
  <p>);</p>
  
  <p>An I want in each 'content' tab something like this:</p>
  
  <pre><code>$this-&gt;widget('bootstrap.widgets.TbGridView',
              array(
              'id'=&gt;'arrendatario',
              'selectableRows'=&gt;1,
              'selectionChanged'=&gt;'obtenerArrendatario',
              'type'=&gt;'striped bordered condensed',
              'dataProvider'=&gt;$arrendatarios-&gt;search(),
                  'filter' =&gt; $arrendatarios,
              'template'=&gt;"{items}\n{pager}",
              'columns'=&gt;array(       
                  array('name'=&gt;'arrendatario_id_personal', 'header'=&gt;'DNI',),
                  array('name'=&gt;'arrendatario_nombre', 'header'=&gt;'Nombre'),
                  array('name'=&gt;'arrendatario_email', 'header'=&gt;'Email'),   
              ),
          ));
  </code></pre>
  
  <p>Can anyone help me?</p>
  
  <p>Thanks!</p>