@extends('admin.layout') @section('custom-style') @endsection @section('content') TV Shows TV Shows Edit Edit TV Shows {{csrf_field()}} Category name* Category slug* Select parent category* None @if($categories) @foreach($categories as $item) parent_id == $item->id ) selected @endif>{{$item->name}} @if(count($item->subcategory)) @include('admin.category.subCategoryList-option-edit',['subcategories' => $item->subcategory]) @endif @endforeach @endif Mobile Design* {{-- None --}} mobile_design == 'Verticle') selected @endif>Portrait mobile_design == 'Horizontal') selected @endif>Landscape Desktop Design* {{-- None --}} desktop_design == 'Verticle') selected @endif>Portrait desktop_design == 'Horizontal') selected @endif>Landscape @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @if(\Session::has('error')) {!! \Session::get('error') !!} @endif @if(\Session::has('success')) {!! \Session::get('success') !!} @endif @endsection @section('custom-scripts') @endsection