I think there bay be white spaces and hard-tabs on line 20-21.
When you can see on github, 
```php
+        $this->renderPartial('/device/_view',array('data' => $device));
+    echo '</br>';
```
but you can see in your console,

```php
        $this->renderPartial('/device/_view',array('data' => $device));
        echo '</br>';
```
Please remove all spaces(white spaces and tabs) and put proper white spaces.