app/Http/Livewire/Form/*: extend ModelForm to share ALOT of code and make concrete form classes smaller
This commit is contained in:
parent
5f960cf3d9
commit
40b73e1c5c
6 changed files with 31 additions and 176 deletions
|
|
@ -6,8 +6,8 @@
|
|||
<form class="space-y-4" wire:submit.prevent="submit">
|
||||
|
||||
<div>
|
||||
<x-ignite-label for="raid.name">{{ __('Name') }}</x-ignite-label>
|
||||
<x-ignite-input name="raid.name" wire:model="raid.name" />
|
||||
<x-ignite-label for="record.name">{{ __('Name') }}</x-ignite-label>
|
||||
<x-ignite-input name="record.name" wire:model="record.name" />
|
||||
</div>
|
||||
|
||||
<x-button type="info">{{ __('Save') }}</x-button>
|
||||
|
|
|
|||
Reference in a new issue