Yii Framework Forum: How To Pass Html Inside A Variable? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Pass Html Inside A Variable? Rate Topic: -----

#1 User is offline   Sachy 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 60
  • Joined: 01-December 13

Posted 11 March 2014 - 01:51 PM

Guys

I am using yiibooster extension TbButton as seen below


$this->widget(
    'bootstrap.widgets.TbButton',
    array(
        'label' => 'Login',
        'type' => 'danger',
        'htmlOptions' => array(
            'data-title' => 'Sign in to continue',
            'data-placement' => 'bottom',
            [b]'data-content' => "",[/b]
            'data-toggle' => 'popover'
        ),
    )
);


The thing is , I have already created a login form and want that the
"data content" 
should contain the code for the login

<form>
<input type=username>
<password>
<end form>
etc,


how can do that? have you also come across similar situation? please let me know!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users