Charles d6f814b7a3
Move schedule buttons (#815)
* Move buttons around

* change to Save
2024-12-10 17:57:06 -05:00

32 lines
711 B
PHP

<?php
namespace App\Filament\Server\Resources\ScheduleResource\Pages;
use App\Filament\Server\Resources\ScheduleResource;
use Filament\Actions;
use Filament\Resources\Pages\EditRecord;
class EditSchedule extends EditRecord
{
protected static string $resource = ScheduleResource::class;
protected function getHeaderActions(): array
{
return [
Actions\DeleteAction::make(),
$this->getSaveFormAction()->formId('form')->label('Save'),
$this->getCancelFormAction()->formId('form'),
];
}
public function getBreadcrumbs(): array
{
return [];
}
protected function getFormActions(): array
{
return [];
}
}