@extends('admin.layouts.container') @section('content')

{{$head ?? '' }}

@if($category ?? '' && $category->id) @method('PUT') @endif @csrf @if($routeName != 'categories')
@endif
@foreach($languages as $language)
@endforeach
@include('admin.partials._upload_photo', [ 'item_value'=>old('image', $category->image ?? ''), 'label_name'=>meta('image', getCurrentLocale()) ?? __("categories::$routeName.image"), 'input_name'=>'image', 'parent_class' => 'col-lg-6 d-none' ])
{{--
--}}
is_live ?? false)) class="custom-control-input {{ $errors->has('is_live') ? 'is-invalid' : '' }}" id="customSwitch-is_live">
is_recorded ?? false)) class="custom-control-input {{ $errors->has('is_recorded') ? 'is-invalid' : '' }}" id="customSwitch-is_recorded">
@endsection @section('inner_js') {{-- --}} @endsection