@extends('layouts.app_admin') @section('content') Dashboard > SubCategory List > Add Sub Category {{ csrf_field() }} Select Category* Select category @foreach($category as $value) id == $sub_category->subcategory_id) selected @endif >{{ $value->name }} @endforeach Child Category Name* @if ($errors->has('childcategory')) {{ $errors->first('childcategory') }} @endif Status* Select Status status == '0') selected @endif>Active status == '1') selected @endif>Inactive Update Cancel @endsection