Goutham_1 0 Newbie Poster

I have a new button in the view. I want to make it look in similar style like view/delete button. please help me.

<?php $details=$details;
<h3><?php echo $name; ?></h3>
<div id="content">
<?php $form=$this->beginWidget('CActiveForm', array(
        'enableClientValidation' => true,
        'clientOptions' => array(
            'validateOnSubmit' => true,
            'validateOnChange' => true, // allow client validation for every field
        'htmlOptions' => array('enctype' => 'multipart/form-data'),
)); ?>
        <?php $this->endWidget();?>
    <h3><?php echo htmlspecialchars($title); ?></h3>
    <h3><?php echo $title; ?></h3>
   <div style="padding: 10px;">
        <a href="<?php echo $this->createUrl('/Nimsoft/create?id='.$details->host_customer_id);?>" title="Create New Host" class="btn btn-primary circle_ok" style="text-decoration: none;" >Add New Host to Customer</a>
    <div style="float:right">
                            echo CHtml::link('Upload Customer CSV', array('/Nimsoft/uploadCustomers?id='.$details->host_customer_id), array(
                            'onclick'=>'return hs.htmlExpand(this, { objectType: "iframe", wrapperClassName: "full-size", align: "center" } )',
                            'class'=>'btn btn-primary',
    <div class="innerLR">
        <div class="row-fluid">

$obj=$this->widget('zii.widgets.grid.CGridView', array(


                array(            // display 'create_time' using an expression
                                    'buttons' => array(
                                        'htmlOptions' => array('style'=>'width:80px'),
                                           'edit_date' => array( //the name {reply} must be same
                                             'label' => 'Edit Date', // text label of the button
                                               'url' => Yii::app()->createUrl("Nimsoft/Add_date", array("id"=>$data->host_id)), //Your URL According to your wish
                                                  'imageUrl' => Yii::app()->baseUrl.'/images/add2.jpg',  // image URL of the button. If not set or false, a text link is used, The image must be 16X16 pixels





<html lang="en">
  <meta charset="utf-8">



        <div class="separator bottom"></div>
<!-- // Content END -->
<div class="clearfix"></div>
<!-- // Sidebar menu & content wrapper END -->

<div id="footer" class="hidden-print">
<?php $this->renderPartial('application.views.layouts._footer_inc');  ?>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.