@if(isset($add_course))
@lang('front_settings.edit_course')
@else
@lang('front_settings.add_course')
@endif
@if(isset($add_course))
{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'update_course',
'method' => 'POST', 'enctype' => 'multipart/form-data']) }}
@else
@if(userPermission("store_course"))
{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'store_course',
'method' => 'POST', 'enctype' => 'multipart/form-data']) }}
@endif
@endif
@if ($errors->has('category_id'))
{{ $errors->first('category_id') }}
@endif
@if($errors->has('overview'))
{{ $errors->first('overview') }}
@endif
@if($errors->has('outline'))
{{ $errors->first('outline') }}
@endif
@if($errors->has('prerequisites'))
{{ $errors->first('prerequisites') }}
@endif
@if($errors->has('resources'))
{{ $errors->first('resources') }}
@endif
@if($errors->has('stats'))
{{ $errors->first('stats') }}
@endif
@php
$tooltip = "";
if(userPermission("store_course")){
$tooltip = "";
}else{
$tooltip = "You have no permission to add";
}
@endphp
@if(Illuminate\Support\Facades\Config::get('app.app_sync'))
@else
@endif