From 978dffc506dcc488a44afcf01cd688db34274aaa Mon Sep 17 00:00:00 2001 From: Steen Rabol Date: Sun, 29 Sep 2024 19:20:42 +0200 Subject: [PATCH] Change Text from Post to Page --- src/Filament/Resources/PageResource.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Filament/Resources/PageResource.php b/src/Filament/Resources/PageResource.php index 2408edb..cbdda63 100644 --- a/src/Filament/Resources/PageResource.php +++ b/src/Filament/Resources/PageResource.php @@ -65,7 +65,7 @@ public static function form(Form $form): Form Tabs::make('post_tabs')->schema([ Tabs\Tab::make(__('Title & Content'))->schema([ TextInput::make('title') - ->label(__('Post Title')) + ->label(__('Page Title')) ->required() ->maxLength(255) ->live(onBlur: true) @@ -86,13 +86,13 @@ public static function form(Form $form): Form Textarea::make('description') ->maxLength(255) ->label(__('Description')) - ->hint(__('Write an excerpt for your post')), + ->hint(__('Write an excerpt for your page')), TextInput::make('slug') ->unique(ignorable: fn (?Post $record): ?Post => $record) ->required() ->maxLength(255) - ->label(__('Post Slug')), + ->label(__('Page Slug')), Select::make('parent_id') ->options(SkyPlugin::get()->getModel('Post')::where('post_type', 'page')->pluck(