@extends('admin::layouts.content') @section('page_title') {{ __('admin::app.catalog.categories.add-title') }} @stop @section('content')
@csrf() {!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.general.before') !!}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.general.controls.before') !!}
@{{ errors.first('name') }}
@{{ errors.first('status') }}
@{{ errors.first('position') }}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.general.controls.after') !!}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.general.after') !!} {!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.description_images.before') !!}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.description_images.controls.before') !!}
@{{ errors.first('display_mode') }}
@foreach ($errors->get('image.*') as $key => $message) @php echo str_replace($key, 'Image', $message[0]); @endphp @endforeach {{ __('admin::app.catalog.categories.image-size') }} @foreach ($errors->get('image.*') as $key => $message) @php echo str_replace($key, 'Image', $message[0]); @endphp @endforeach {{ __('admin::app.catalog.categories.banner_size') }}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.description_images.controls.after') !!}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.description_images.after') !!} @if ($categories->count()) {!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.parent_category.before') !!}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.parent_category.controls.before') !!} {!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.parent_category.controls.after') !!}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.parent_category.after') !!} @endif
@php $selectedaAtributes = old('attributes') ? old('attributes') : ['11'] @endphp
@{{ errors.first('attributes[]') }}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.seo.before') !!}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.seo.controls.before') !!}
@{{ errors.first('slug') }}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.seo.controls.after') !!}
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.seo.after') !!}
@stop @push('scripts') @include('admin::layouts.tinymce') @endpush