2023-06-11 12:14:03 +00:00
|
|
|
@extends('admin::layout')
|
|
|
|
|
|
|
|
@component('admin::components.page.header')
|
|
|
|
@slot('title', trans('admin::resource.edit', ['resource' => trans('menu::menus.menu')]))
|
|
|
|
@slot('subtitle', $menu->title)
|
|
|
|
|
|
|
|
<li><a href="{{ route('admin.menus.index') }}">{{ trans('menu::menus.menus') }}</a></li>
|
|
|
|
<li class="active">{{ trans('admin::resource.edit', ['resource' => trans('menu::menus.menu')]) }}</li>
|
|
|
|
@endcomponent
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<form method="POST" action="{{ route('admin.menus.update', $menu) }}" class="form-horizontal" id="menu-edit-form" novalidate>
|
|
|
|
{{ csrf_field() }}
|
|
|
|
{{ method_field('put') }}
|
|
|
|
|
|
|
|
@include('menu::admin.menus.form.fields')
|
|
|
|
</form>
|
|
|
|
@endsection
|
|
|
|
|
2023-12-03 14:07:47 +00:00
|
|
|
@include('menu::admin.menus.partials.shortcuts')
|
|
|
|
|
2023-06-11 12:14:03 +00:00
|
|
|
@push('globals')
|
|
|
|
<script>
|
|
|
|
FleetCart.langs['menu::messages.menu_item_deleted'] = '{{ trans('menu::messages.menu_item_deleted') }}';
|
|
|
|
FleetCart.langs['menu::messages.menu_items_order_updated'] = '{{ trans('menu::messages.menu_items_order_updated') }}';
|
|
|
|
</script>
|
|
|
|
|
2023-12-03 14:07:47 +00:00
|
|
|
@vite([
|
|
|
|
'Modules/Menu/Resources/assets/admin/sass/main.scss',
|
|
|
|
'Modules/Menu/Resources/assets/admin/js/main.js'
|
|
|
|
])
|
|
|
|
@endpush
|