File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ class SkySeeder extends Seeder
10
10
{
11
11
public function run ()
12
12
{
13
- Tag::create (['name ' => ' laravel ' , 'type ' => 'category ' ]);
14
- Tag::create (['name ' => ' talks ' , 'type ' => 'category ' ]);
15
- Tag::create (['name ' => ' dev ' , 'type ' => 'category ' ]);
13
+ Tag::create (['name ' => [ ' en ' => ' laravel ', ' ar ' => ' لارافل ' ] , 'type ' => 'category ' ]);
14
+ Tag::create (['name ' => [ ' en ' => ' talks ', ' ar ' => ' اخبار ' ] , 'type ' => 'category ' ]);
15
+ Tag::create (['name ' => [ ' en ' => ' dev ', ' ar ' => ' تطوير ' ] , 'type ' => 'category ' ]);
16
16
17
17
Post::factory ()
18
18
->count (8 )
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public static function form(Form $form): Form
60
60
->label (__ ('Description ' ))
61
61
->hint (__ ('Write an excerpt for your post ' )),
62
62
TextInput::make ('slug ' )->required ()->maxLength (255 )->label (__ ('Post Slug ' )),
63
- Select::make ('parent_id ' )->options (Post::wherePostType ('page ' )->pluck ('title ' , 'id ' ))->label (__ ('Parent Page ' ))-> integer () ,
63
+ Select::make ('parent_id ' )->options (Post::wherePostType ('page ' )->pluck ('title ' , 'id ' ))->label (__ ('Parent Page ' )),
64
64
TextInput::make ('ordering ' )->integer ()->label (__ ('Page Order ' ))->default (1 ),
65
65
])
66
66
->collapsible (),
You can’t perform that action at this time.
0 commit comments