Archived
1
0
Fork 0

Character: add ability to edit a character.

This commit is contained in:
Henrik Hautakoski 2021-07-03 13:45:48 +02:00
parent d8895901bf
commit b6f1f8b887
8 changed files with 217 additions and 70 deletions

View file

@ -3,7 +3,7 @@
<x-slot name="title">{{ __('Add character') }}</x-slot>
<div class="p-6 mx-auto max-w-xl">
<livewire:form.create-character-form>
<livewire:form.create-character-form />
</div>
</x-layout>

View file

@ -0,0 +1,16 @@
<x-layout name="app">
<x-slot name="title">
<div class="flex">
{{ __('Character') }} -
<x-class-icon class="w-8 h-8 mx-2" :name="$character->class" />
{{ $character->level }} {{ $character->name }}
- {{ __('Edit') }}
</div>
</x-slot>
<div class="p-6 mx-auto max-w-xl">
<livewire:form.create-character-form :character="$character" />
</div>
</x-layout>