@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @can('related-courses.delete') @endcan @can('related-courses.create') {{ __('Add Related Course') }} @endcan
@foreach($relatedcourse as $cat) @endforeach
# {{ __('RelatedCourse') }} {{ __('Status') }} {{ __('Action') }}
1 @if($cat->courses) {{$cat->courses->title}} @endif