src/grid/MainColumn.php
public function renderNoteLink($model, $key, $index)
    {
        return $this->note ? Html::tag('span', Yii::t('hipanel', 'Note') . ': ', ['class' => 'bold']) . XEditable::widget([
                'model' => $model,
                'attribute' => $this->note === true ? 'note' : $this->note,
                'pluginOptions' => $this->noteOptions,
            ]) : null;
    }
public function renderNoteLink($model, $key, $index)
    {
        return $this->note ? Html::tag('span', Yii::t('hipanel', 'Note') . ': ', ['class' => 'bold']) . XEditable::widget([
                'model' => $model,
                'attribute' => $this->note === true ? 'note' : $this->note,
                'pluginOptions' => $this->noteOptions,
            ]) : null;
    }
public function renderNoteLink ( $ model , $ key , $ index ) { return $ this -> note ? Html :: tag ( 'span' , Yii :: t ( 'hipanel' , 'Note' ) . ': ' , [ 'class' => 'bold' ] ) . XEditable :: widget ( [ 'model' => $ model , 'attribute' => $ this -> note === true ? 'note' : $ this -> note , 'pluginOptions' => $ this -> noteOptions , ] ) : null ; }
Renders link to edit note.
@param $model
@param $key
@param $index
@return string|null
Renders link to edit note .