@extends('admin.layouts.master') @section('title', 'Edit Sub Categories') @section('content')

{{ __('Edit Sub Category') }}

@csrf
@if ($errors->has('sub_category_name'))

{{ $errors->first('sub_category_name') }}

@endif
@if ($errors->has('slug'))

{{ $errors->first('slug') }}

@endif
*
@if ($errors->has('category_id'))

{{ $errors->first('category_id') }}

@endif
@if ($errors->has('order_no'))

{{ $errors->first('order_no') }}

@endif
*
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
*
@if ($errors->has('is_featured'))

{{ $errors->first('is_featured') }}

@endif
@if ($errors->has('label_text'))

{{ $errors->first('label_text') }}

@endif
@if ($errors->has('label_color'))

{{ $errors->first('label_color', $subcategory->label_color) }}

@endif
@if ($errors->has('label_bg_color'))

{{ $errors->first('label_bg_color', $subcategory->label_bg_color) }}

@endif
@if ($errors->has('meta_title'))

{{ $errors->first('meta_title') }}

@endif
@if ($errors->has('short_description'))

{{ $errors->first('short_description') }}

@endif
@if ($errors->has('meta_description'))

{{ $errors->first('meta_description') }}

@endif

Preview Image @if ($errors->has('image'))

{{ $errors->first('image') }}

@endif

Preview Banner Image @if ($errors->has('banner_image'))

{{ $errors->first('banner_image') }}

@endif

Preview Meta Image @if ($errors->has('meta_image'))

{{ $errors->first('meta_image') }}

@endif
@endsection @section('js') @endsection