1414
1515 </x-slot >
1616 <div class =" max-w-7xl mx-auto py-10 sm:px-6 lg:px-8" >
17- <x-jet- form-section submit =" updateMenu" >
17+ <x-form-section submit =" updateMenu" >
1818 <x-slot name =" title" >
1919 {{ __ (' Menu' ) } }
2020 </x-slot >
2626
2727 <x-slot name =" form" >
2828 <div class =" col-span-6 sm:col-span-4" >
29- <x-jet- label for =" name" value =" {{ __ (' Menu name' ) } }" />
30- <x-jet- input id =" name" type =" text" class =" mt-1 block w-full" wire:model.defer =" menu.name" autocomplete =" name" />
31- <x-jet- input-error for =" permission.name" class =" mt-2" />
29+ <x-label for =" name" value =" {{ __ (' Menu name' ) } }" />
30+ <x-input id =" name" type =" text" class =" mt-1 block w-full" wire:model.defer =" menu.name" autocomplete =" name" />
31+ <x-input-error for =" permission.name" class =" mt-2" />
3232 </div >
3333 <div class =" col-span-6 sm:col-span-4" >
34- <x-jet- label for =" name" value =" {{ __ (' Menu parent' ) } }" />
34+ <x-label for =" name" value =" {{ __ (' Menu parent' ) } }" />
3535 <select wire:model.defer =" menu.parent_id" id =" parent_id" name =" parent_id" autocomplete =" activity_id" class =" mt-1 block w-full border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm" >
3636 <option value =" 0" >{{ __ (' Choose' ) } } </option >
3737
3838 @foreach ($parents as $id => $label )
3939 <option value =" {{ $id } }" >{{ $label } } </option >
4040 @endforeach
4141 </select >
42- <x-jet- input-error for =" permission.parent" class =" mt-2" />
42+ <x-input-error for =" permission.parent" class =" mt-2" />
4343 </div >
4444 <div class =" col-span-6 sm:col-span-4" >
45- <x-jet- label for =" route" value =" {{ __ (' Menu links to route ( empty for no link )' ) } }" />
46- <x-jet- input id =" route" type =" text" class =" mt-1 block w-full" wire:model.defer =" menu.route" autocomplete =" route" />
47- <x-jet- input-error for =" menu.route" class =" mt-2" />
45+ <x-label for =" route" value =" {{ __ (' Menu links to route ( empty for no link )' ) } }" />
46+ <x-input id =" route" type =" text" class =" mt-1 block w-full" wire:model.defer =" menu.route" autocomplete =" route" />
47+ <x-input-error for =" menu.route" class =" mt-2" />
4848 </div >
4949 <div class =" col-span-6 sm:col-span-4" >
50- <x-jet- label for =" sort_order" value =" {{ __ (' Sort order' ) } }" />
51- <x-jet- input id =" sort_order" type =" text" class =" mt-1 block w-full" wire:model.defer =" menu.sort_order" autocomplete =" sort order " />
52- <x-jet- input-error for =" menu.sort_order" class =" mt-2" />
50+ <x-label for =" sort_order" value =" {{ __ (' Sort order' ) } }" />
51+ <x-input id =" sort_order" type =" text" class =" mt-1 block w-full" wire:model.defer =" menu.sort_order" autocomplete =" sort order " />
52+ <x-input-error for =" menu.sort_order" class =" mt-2" />
5353 </div >
5454 </x-slot >
5555 <x-slot name =" actions" >
56- <x-jet- action-message class =" mr-3" on =" saved" >
56+ <x-action-message class =" mr-3" on =" saved" >
5757 {{ __ (' Saved.' ) } }
58- </x-jet- action-message >
58+ </x-action-message >
5959
60- <x-jet- button wire:loading.attr =" disabled" >
60+ <x-button wire:loading.attr =" disabled" >
6161 {{ __ (' Save' ) } }
62- </x-jet- button >
62+ </x-button >
6363 </x-slot >
64- </x-jet- form-section >
65- <x-jet- section-border />
64+ </x-form-section >
65+ <x-section-border />
6666
67- <x-jet- form-section submit =" updateMenu" >
67+ <x-form-section submit =" updateMenu" >
6868
6969 <x-slot name =" title" >
7070 {{ __ (' Perks' ) } }
7676 <x-slot name =" form" >
7777
7878 <div class =" col-span-6 sm:col-span-4" >
79- <x-jet- label for =" permission" value =" {{ __ (' Permission' ) } }" />
79+ <x-label for =" permission" value =" {{ __ (' Permission' ) } }" />
8080 {{ $menu -> permission } }
8181 </div >
8282 <div class =" col-span-6 sm:col-span-4" >
83- <x-jet- label for =" permission" value =" {{ __ (' Label' ) } }" />
83+ <x-label for =" permission" value =" {{ __ (' Label' ) } }" />
8484 __('{{ $menu -> name } } ')
8585 </div >
8686 @if (empty ($menu -> parent_id ) )
8787 <div class =" col-span-6 sm:col-span-4" >
88- <x-jet- label for =" icon" value =" {{ __ (' Menu icon' ) } }" />
89- <x-jet- input id =" icon" type =" text" class =" mt-1 block w-full" wire:model.defer =" menu.icon" autocomplete =" icon" />
90- <x-jet- input-error for =" menu.icon" class =" mt-2" />
88+ <x-label for =" icon" value =" {{ __ (' Menu icon' ) } }" />
89+ <x-input id =" icon" type =" text" class =" mt-1 block w-full" wire:model.defer =" menu.icon" autocomplete =" icon" />
90+ <x-input-error for =" menu.icon" class =" mt-2" />
9191 </div >
9292 @endif
9393 </x-slot >
9494 <x-slot name =" actions" >
95- <x-jet- action-message class =" mr-3" on =" saved" >
95+ <x-action-message class =" mr-3" on =" saved" >
9696 {{ __ (' Saved.' ) } }
97- </x-jet- action-message >
97+ </x-action-message >
9898
99- <x-jet- button wire:loading.attr =" disabled" >
99+ <x-button wire:loading.attr =" disabled" >
100100 {{ __ (' Save' ) } }
101- </x-jet- button >
101+ </x-button >
102102 </x-slot >
103- </x-jet- form-section >
103+ </x-form-section >
104104 </div >
105105
106106</div >
0 commit comments