@extends('admin.layouts.app') @push('styles_top') @endpush @section('content') {{ $pageTitle }} {{ trans('admin/main.dashboard') }} {{ trans('admin/main.categories') }} {{ $pageTitle }} {{ csrf_field() }} @if(!empty(getGeneralSettings('content_translate'))) {{ trans('auth.language') }} @foreach($userLanguages as $lang => $language) get('locale', app()->getLocale())) == mb_strtolower($lang)) selected @endif>{{ $language }} @endforeach @error('locale') {{ $message }} @enderror @else @endif {{ trans('/admin/main.title') }} @error('title') {{ $message }} @enderror {{ trans('admin/main.icon') }} @error('icon') {{ $message }} @enderror isEmpty()) ? 'checked' : '' }}> {{ trans('admin/main.has_sub_category') }} {{ trans('admin/main.add_sub_categories') }} Add @if((!empty($subCategories) and !$subCategories->isEmpty())) @foreach($subCategories as $key => $subCategory) @endforeach @endif {{ trans('admin/main.submit') }} @endsection @push('scripts_bottom') @endpush