Submit Button Bootstrap3

Hi all! I em using bootstrap3 module for yii.


<div class="form">

    <?php

    $form = $this->beginWidget('bootstrap.widgets.BsActiveForm', array(

        'id' => 'login-form',

        'enableClientValidation' => true,

        'clientOptions' => array(

        'validateOnSubmit' => true,

        ),

        'htmlOptions' => array('class' => 'well'),

    ));

    ?>


    <p class="note">Fields with <span class="required">*</span> are required.</p>

    <div class="row">

        <?php

        $emailAlias = "Email";

        ?>

<?php echo $form->labelEx($model, $emailAlias); ?>

<?php echo $form->textField($model, 'email'); ?>

        <?php echo $form->error($model, 'email'); ?>

    </div>


    <div class="row">

<?php echo $form->labelEx($model, 'Password'); ?>

<?php echo $form->passwordField($model, 'password'); ?>

<?php echo $form->error($model, 'password'); ?>

</div>

<div class="row buttons">


<?php

echo BsHtml::button('LOGIN', array(    

    'class'=>'btn btn-default navbar-btn', 

    'size' => BsHtml::BUTTON_SIZE_LARGE,

    'buttonType' => BsHtml::BUTTON_TYPE_SUBMIT,

    'icon' => BsHtml::GLYPHICON_OK_CIRCLE

));

?>

</div>


<?php $this->endWidget(); ?>

</div>



But login button not worked :( Help me pls!

Look at the source code in a browser. Is the button actually a <input type=“submit”>, or just displaying a button. I don’t use YiiBooster, so I can say if your code is correct to actually get the button to work.