@extends('admin.layout.app') @section('content') SubCategories SubCategories @include('admin.layout.session') Add New SubCategory Back @csrf Main Category @forelse($categories as $key => $value) {{$value->category_name}} @empty No Category @endforelse Select All @if ($errors->has('subcategory_name')) {{ $errors->first('subcategory_name') }} @endif Category Name @if ($errors->has('subcategory_name')) {{ $errors->first('subcategory_name') }} @endif Keyword @if ($errors->has('keyword')) {{ $errors->first('keyword') }} @endif Description {{old('description')}} @if ($errors->has('description')) {{ $errors->first('description') }} @endif Image @if ($errors->has('subcategory_image')) {{ $errors->first('subcategory_image') }} @endif Submit Back @endsection @push('js') @endpush