refactor: update Filament action calls to use explicit invocation syntax in blade templates
This commit is contained in:
parent
6d58190e28
commit
04c9ca5464
@ -98,9 +98,9 @@ class="text-[11px] font-semibold tracking-wide text-gray-400 uppercase">
|
||||
@canAny(['Update:CourseSchedule', 'Delete:CourseSchedule'])
|
||||
<div
|
||||
class="flex items-center justify-end gap-1 pt-3 border-t border-gray-100 dark:border-gray-800">
|
||||
{{ $this->editScheduleAction(['schedule' => $schedule->id]) }}
|
||||
{{ ($this->editScheduleAction)(['schedule' => $schedule->id]) }}
|
||||
|
||||
{{ $this->deleteScheduleAction(['schedule' => $schedule->id]) }}
|
||||
{{ ($this->deleteScheduleAction)(['schedule' => $schedule->id]) }}
|
||||
</div>
|
||||
@endcanAny
|
||||
</div>
|
||||
|
||||
@ -136,9 +136,9 @@ class="text-[10px] font-bold px-1.5 py-0.5 rounded bg-violet-50 dark:bg-violet-5
|
||||
'border-gray-100 dark:border-gray-800' => !$record->is_my_group,
|
||||
'border-primary-200 dark:border-primary-800' => $record->is_my_group,
|
||||
])>
|
||||
{{ $this->editStudyGroupAction(['studyGroup' => $record->id]) }}
|
||||
{{ ($this->editStudyGroupAction)(['studyGroup' => $record->id]) }}
|
||||
|
||||
{{ $this->deleteStudyGroupAction(['studyGroup' => $record->id]) }}
|
||||
{{ ($this->deleteStudyGroupAction)(['studyGroup' => $record->id]) }}
|
||||
</div>
|
||||
</div>
|
||||
@endcanAny
|
||||
|
||||
@ -42,8 +42,8 @@ class="flex flex-wrap items-center gap-x-4 gap-y-1 text-sm text-gray-500 dark:te
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-1">
|
||||
{{ $this->editSessionAction(['session' => $session->id]) }}
|
||||
{{ $this->deleteSessionAction(['session' => $session->id]) }}
|
||||
{{ ($this->editSessionAction)(['session' => $session->id]) }}
|
||||
{{ ($this->deleteSessionAction)(['session' => $session->id]) }}
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
Loading…
Reference in New Issue
Block a user