1
0
Fork 0

resources/views/character/show.blade.php: Add button to edit page.

This commit is contained in:
Henrik Hautakoski 2021-07-03 14:15:51 +02:00
parent b6f1f8b887
commit 2f561fc1cd

View file

@ -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>