Add Tenant Profile Page To Cluster?

hi does anyone know how i can add the tenant profile page to a cluster? it seems this doesnt work
<?php

namespace App\Filament\AgencySettings\Clusters\General\Pages;

use App\Filament\AgencySettings\Clusters\General;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Pages\Tenancy\EditTenantProfile;

class AgencyProfile extends EditTenantProfile
{
protected static ?string $navigationIcon = 'heroicon-o-document-text';
protected static string $view = 'filament.agency-settings.clusters.general.pages.agency-profile';
protected static ?string $cluster = General::class;

public static function getLabel(): string
{
return 'Agency profile';
}

public function form(Form $form): Form
{
return $form
->schema([
TextInput::make('name'),
// ...
]);
}
}
<?php

namespace App\Filament\AgencySettings\Clusters\General\Pages;

use App\Filament\AgencySettings\Clusters\General;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Pages\Tenancy\EditTenantProfile;

class AgencyProfile extends EditTenantProfile
{
protected static ?string $navigationIcon = 'heroicon-o-document-text';
protected static string $view = 'filament.agency-settings.clusters.general.pages.agency-profile';
protected static ?string $cluster = General::class;

public static function getLabel(): string
{
return 'Agency profile';
}

public function form(Form $form): Form
{
return $form
->schema([
TextInput::make('name'),
// ...
]);
}
}
Thanks in advance!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server