<?php

$this->widget('bootstrap.widgets.TbButton', array(
    'buttonType' => 'button',
    'type' => $data['loggedIn'] == '1' ? 'danger' : 'success',
    'loadingText' => 'loading...',
    'htmlOptions' => array(
        'class' => 'logginButton name',
    ),
));
