I have two models :

> 
> Subnet(id,name,...) and Ip(ip , objectid , ...)
> 
> 
> 

in SubnetController I have :

```
public function actionView($id)
{
    $ips = Ip::find()->where(['subnetID' => $id])->all();
    if (!$ips) {
        echo "<script type='text/javascript'>alert('No IP used yet');</script>";
    }
    return $this->render('view', [
        'model' => $this->findModel($id),
        'ips' => $ips,
    ]);         
}

```

I want to have all IPs in editable-view :

```
<?= Editable::widget([
    'model' => $ips, 
    'attribute' => 'ip',
    'type' => 'primary',
    'size'=> 'lg',
    'inputType' => Editable::INPUT_TEXT,
    'editableValueOptions' => ['class' => 'text-success h3']
]); ?>

```

But I get error:

> 
> Either 'name', or 'model' and 'attribute' properties must be specified.
> 
> 
> 

I read all [documentations](http://demos.krajee.com/editable)!!! What should I do to list all of my IPs in Subnet view file?