2023-06-11 12:14:03 +00:00
|
|
|
@push('shortcuts')
|
|
|
|
@isset($menu)
|
|
|
|
<dl class="dl-horizontal">
|
|
|
|
<dt><code>c</code></dt>
|
|
|
|
<dd>{{ trans('admin::resource.create', ['resource' => trans('menu::menu_items.menu_item')]) }}</dd>
|
|
|
|
</dl>
|
|
|
|
@endisset
|
|
|
|
|
|
|
|
<dl class="dl-horizontal">
|
|
|
|
<dt><code>b</code></dt>
|
|
|
|
<dd>{{ trans('admin::admin.shortcuts.back_to_index', ['name' => trans('menu::menus.menu')]) }}</dd>
|
|
|
|
</dl>
|
|
|
|
@endpush
|
|
|
|
|
|
|
|
@push('scripts')
|
2023-12-03 14:07:47 +00:00
|
|
|
<script type="module">
|
2023-06-11 12:14:03 +00:00
|
|
|
keypressAction([
|
|
|
|
@isset($menu)
|
|
|
|
{ key: 'c', route: "{{ route('admin.menus.items.create', $menu) }}" },
|
|
|
|
@endisset
|
|
|
|
|
|
|
|
{ key: 'b', route: "{{ route('admin.menus.index') }}" },
|
|
|
|
]);
|
|
|
|
</script>
|
|
|
|
@endpush
|