| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 29 | 
| Code Lines | 20 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 16 | public function getScheme(Builder $builder)  | 
            ||
| 17 |     { | 
            ||
| 18 | return $builder->group([  | 
            ||
| 19 | 'title' => $builder->text()  | 
            ||
| 20 |                 ->label('Title'), | 
            ||
| 21 | |||
| 22 | 'intro' => $builder->html()  | 
            ||
| 23 |                 ->label('Introduction'), | 
            ||
| 24 | |||
| 25 |             'tags' => $builder->relationMany($this->admin->getEntity('tags')) | 
            ||
| 26 | ->allowNewValues()  | 
            ||
| 27 |                 ->data('config', [ | 
            ||
| 28 | 'create' => 'name'  | 
            ||
| 29 | ])  | 
            ||
| 30 |                 ->label('Tags'), | 
            ||
| 31 | |||
| 32 | 'category' => $builder->select()  | 
            ||
| 33 | ->options([  | 
            ||
| 34 | 'food' => 'Food',  | 
            ||
| 35 | 'sports' => 'Sports',  | 
            ||
| 36 | 'life' => 'Life',  | 
            ||
| 37 | ])  | 
            ||
| 38 |                 ->label('Category'), | 
            ||
| 39 | |||
| 40 | 'actived' => $builder->checkbox()  | 
            ||
| 41 |                 ->set('editable', true) | 
            ||
| 42 |                 ->label('Actived'), | 
            ||
| 43 | ]);  | 
            ||
| 44 | }  | 
            ||
| 45 | }  | 
            ||
| 46 |