Mache Medien, Übungen und Kurse in der Verwaltung bearbeitbar.
Deploy Test / test (push) Successful in 13s
Deploy Test / deploy (push) Successful in 23s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-15 10:49:35 +01:00
1 parent 4f2e5a5f3b
commit 3ee9f529ca
33 files changed
+1105 -284

No files matched your search

@@ -0,0 +1,34 @@
<?php
namespace App\Filament\Resources\Exercises;
use App\Domain\Catalog\CompositionKind;
use App\Filament\Resources\Compositions\CompositionKindResource;
use App\Filament\Resources\Exercises\Pages\EditExercise;
use App\Filament\Resources\Exercises\Pages\ListExercises;
class ExerciseResource extends CompositionKindResource
{
protected static ?string $slug = 'uebungen';
protected static ?string $navigationLabel = 'Übungen';
protected static ?string $modelLabel = 'Übung';
protected static ?string $pluralModelLabel = 'Übungen';
protected static ?int $navigationSort = 3;
public static function kind(): CompositionKind
{
return CompositionKind::Uebung;
}
public static function getPages(): array
{
return [
'index' => ListExercises::route('/'),
'edit' => EditExercise::route('/{record}'),
];
}
}