resources/views/character/show.blade.php: Add button to edit page.
This commit is contained in:
parent
b6f1f8b887
commit
2f561fc1cd
1 changed files with 8 additions and 0 deletions
|
|
@ -8,6 +8,14 @@
|
|||
</div>
|
||||
</x-slot>
|
||||
|
||||
@can('update', $character)
|
||||
<x-slot name="page_links">
|
||||
<x-button element="a" class="flex items-center" href="{{ route('character.edit', [ 'character' => $character ]) }}">
|
||||
<x-icon name="pencil" class="h-6 h-6 mr-1"/> {{ __('Edit') }}
|
||||
</x-button>
|
||||
</x-slot>
|
||||
@endcan
|
||||
|
||||
<div class="p-4">
|
||||
|
||||
<x-section-heading>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue