39 lines
1.4 KiB
PHP
39 lines
1.4 KiB
PHP
@extends('admin::layout')
|
|
|
|
@component('admin::components.page.header')
|
|
@slot('title', trans('admin::resource.create', ['resource' => trans('variation::variations.variation')]))
|
|
|
|
<li><a href="{{ route('admin.variations.index') }}">{{ trans('variation::variations.variations') }}</a></li>
|
|
<li class="active">{{ trans('admin::resource.create', ['resource' => trans('variation::variations.variation')]) }}</li>
|
|
@endcomponent
|
|
|
|
@section('content')
|
|
<div class="box">
|
|
<div class="box-body">
|
|
<div id="app">
|
|
<form
|
|
class="form"
|
|
@input="errors.clear($event.target.name)"
|
|
@submit.prevent
|
|
ref="form"
|
|
>
|
|
@include('variation::admin.variations.partials.general')
|
|
@include('variation::admin.variations.partials.values')
|
|
@include('variation::admin.variations.partials.submit')
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|
|
@include('variation::admin.variations.partials.scripts')
|
|
|
|
@push('globals')
|
|
@vite([
|
|
'Modules/Variation/Resources/assets/admin/sass/main.scss',
|
|
'Modules/Variation/Resources/assets/admin/js/create.js',
|
|
'Modules/Media/Resources/assets/admin/sass/main.scss',
|
|
'Modules/Media/Resources/assets/admin/js/main.js',
|
|
])
|
|
@endpush
|