@extends('layouts.admin') @section('styles') @endsection @section('content') @php $course_path = Config::get('path.course_path'); $course_details_fields_arr = Config::get('constants.course_details_fields_arr'); $course_media_type_extention_arr = Config::get('constants.course_media_type_extention'); $media_source_type_arr = Config::get('constants.media_source_type'); $image = isset($data[0]['flag'])?$data[0]['flag']:""; $mode = isset($mode)?$mode:"Add"; $videoBrowsecls = 'd-none'; $videourlcls = ''; $status_array = array(); $status_array = Config::get('constants.status_array'); @endphp

{{(isset($mode)?$mode:'') }} Chapter {{((isset($data[0]['title'])?' - '.$data[0]['title']:''))}}

@if(isset($mode) && $mode == "Update")
@if (per_hasModuleAccess('CourseModuleChapter', 'View')) {{-- --}} @endif {{-- @if (per_hasModuleAccess('CourseModuleChapter', 'Delete')) @endif --}}
@endif
You have some form errors. Please check below.
Your form validation is successful!

General information

@endif
{{--
--}}
@if(isset($mode) && $mode == 'Update')
{{(isset($data[0]['created_at'])) ? date_getFormattedDateTime($data[0]['created_at']): '---'}}
{{(isset($data[0]['updated_at'])) ? date_getFormattedDateTime($data[0]['updated_at']): '---'}}
@endif

Language

@if (!empty($language)) @php $cnt = count($language); @endphp @for ($i = 0; $i < $cnt; $i++) @php $direction = ($language[$i]['direction'] == "2")?"rtl":"ltr"; @endphp
@endfor @endif
@endsection @section('scripts') @endsection