hi all
I am having this difficulty with this button
<div class="row buttons">
<?= CHtml::submitButton('Submit to all', array('class' => 'button-send-v2', 'value' => '','name'=>'all')); ?>
<span class="go-back">
<span class="gray-text"> or </span>
<?= CHtml::link('Cancel', $this->createAbsoluteUrl('forum/index'), array('class' => 'go-back')); ?>
</span>
</div>
how do i hide this button depending on the user id(Yii::app()->user->id) or at admin login??