@extends('admin.layouts.app') @section('title') @if (isset($data)) Edit Education @else Add Education @endif @endsection @section('CSS') @endsection @section('content')

@if (isset($data)) Edit Education @else Add Education @endif

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ csrf_field() }}
@if (isset($data)) @php $firstcat = $data->category_id[0]; $collectIDs = $data->category_id; @endphp @endif
@if (isset($data)) @if (!empty($sub)) @php $selectedCat = array_keys($sub); $start = 0; @endphp @foreach ($sub as $k => $v) @if (!empty($v)) @endif @php $start++; @endphp @endforeach @endif @endif
visibility == '0' ? 'checked' : '' }} @endif>
visibility == '1' ? 'checked' : '' }} @endif>
@if (isset($data)) @php $platform = $data->platform; $feature = $data->feature; $p = $platform[0]; $f = $feature[0]; @endphp @endif
Please select platform
@if (isset($data)) @if (isset($platform)) @if (count($platform) == count($feature)) @foreach ($platform as $index => $value) @if ($index > 0)

Remove

@endif @endforeach @endif @endif @endif

Add

Cancel
0) value="{{ count($platform) }}" @else value="1" @endif @else value="1" @endif > @endsection @section('js') @endsection