VinceG / twitter-bootstrap-wizard

This twitter bootstrap plugin builds a wizard out of a formatter tabbable structure. It allows to build a wizard functionality using buttons to go through the different wizard steps and using events allows to hook into each step individually.
MIT License
1.39k stars 676 forks source link

How to update "data content" with widgets and other elements #78

Closed sachy123 closed 10 years ago

sachy123 commented 10 years ago

$this->widget( 'bootstrap.widgets.TbWizard', array( 'type' => 'pills', // 'tabs' or 'pills' 'pagerContent' => '

    <input type=

............................ .................... .................. 'tabs' => array( array( 'label' => 'About yourself', 'content' => 'Home Content', 'active' => true ), array('label' => 'Profile', 'content' => 'Profile Content'), array('label' => 'Messages', 'content' => 'Messages Content'), ), ) ); ?>

Now , in the code above, I want to include a

and a widget

$this->widget( 'bootstrap.widgets.TbEditableDetailView', array( 'id'=>'User-Details', 'data' => $loggedinUserModel, 'url' => $this->createUrl('Profile/UpdateRecords'), 'attributes' => array( 'Fname', 'Lname', 'Email', ) ) );

How can I do that?

VinceG commented 10 years ago

@sachy123 wrong repository. you need to post this in the PHP bootstrap library you are using.