@extends('admin/layouts.master') @section('title', 'Edit Childcategory - Admin') @section('body') {{ __('adminstaticword.Edit') }} {{ __('adminstaticword.ChildCategory') }} {{ csrf_field() }} {{ method_field('PUT') }} {{ __('Zone') }} @php $category = App\Categories::all(); @endphp @foreach($category as $caat) category_id == $caat->id ? 'selected' : "" }} value="{{ $caat->id }}">{{ $caat->title }} @endforeach {{ __('Mandal') }} @php $subcategory = App\SubCategory::all(); @endphp @foreach($subcategory as $caatr) subcategory_id == $caatr->id ? 'selected' : "" }} value="{{ $caatr->id }}">{{ $caatr->title }} @endforeach {{ __('Janpad') }} @php $childcategory = App\ChildCategory::all(); @endphp @foreach($childcategory as $caats) child_category == $caats->id ? 'selected' : "" }} value="{{ $caats->id }}">{{ $caats->title }} @endforeach {{ __('adminstaticword.Title') }}:* {{ __('adminstaticword.Status') }}: status == '1' ? 'checked' : '' }} > @endsection @section('scripts') @endsection