Skip to content

Commit

Permalink
fix slot name for sections
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Feb 7, 2024
1 parent f5e274a commit 94f3c0e
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 59 deletions.
114 changes: 57 additions & 57 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/views/errors/date-not-available.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{{ __('the form is not available for submission') }}
<span class="font-semibold">{{ $zeusForm->name ?? '' }}</span>.

<x-slot name="actions">
<x-slot name="description">
<span class="text-sm text-gray-500">{{ __('Start date') }}</span>:
<span class="text-sm">{{ $zeusForm->start_date->format(\Filament\Infolists\Infolist::$defaultDateTimeDisplayFormat) }}</span>,
<span class="text-sm text-gray-500">{{ __('End date') }}</span>:
Expand Down
2 changes: 1 addition & 1 deletion resources/views/errors/login-required.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</x-slot>
{{ __('Login is required to access the form') }}
<span class="font-semibold">{{ $zeusForm->name ?? '' }}</span>.
<x-slot name="actions">
<x-slot name="description">
<x-filament::button tag="a" size="sm" href="{{ url('/login') }}">
{{ __('Login') }}
</x-filament::button>
Expand Down

0 comments on commit 94f3c0e

Please sign in to comment.