FleetCart/Modules/Menu/Resources/views/admin/menu_items/create.blade.php

28 lines
1.2 KiB
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
@extends('admin::layout')
@component('admin::components.page.header')
@slot('title', trans('admin::resource.create', ['resource' => trans('menu::menu_items.menu_item')]))
<li><a href="{{ route('admin.menus.index') }}">{{ trans('menu::menus.menus') }}</a></li>
<li><a href="{{ route('admin.menus.edit', $menuId) }}">{{ trans('admin::resource.edit', ['resource' => trans('menu::menus.menu')]) }}</a></li>
<li class="active">{{ trans('admin::resource.create', ['resource' => trans('menu::menu_items.menu_item')]) }}</li>
@endcomponent
@section('content')
<form method="POST" action="{{ route('admin.menus.items.store', $menuId) }}" class="form-horizontal" id="menu-item-create-form" novalidate>
{{ csrf_field() }}
{!! $tabs->render(compact('menuId', 'menuItem')) !!}
</form>
@endsection
@include('menu::admin.menu_items.partials.shortcuts')
2023-12-03 14:07:47 +00:00
@push('globals')
@vite([
'Modules/Menu/Resources/assets/admin/sass/main.scss',
'Modules/Menu/Resources/assets/admin/js/main.js',
'Modules/Media/Resources/assets/admin/sass/main.scss',
'Modules/Media/Resources/assets/admin/js/main.js'
])
@endpush