@extends('backEnd.master') @section('title') @lang('lang.upload_content') @endsection @section('mainContent')

@if(isset($editData)) @lang('common.edit') @else @endif @lang('lang.upload_content')

@if(isset($editData)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'update-upload-content',@$editData->id, 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @else @if(userPermission(89)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'save-upload-content', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif @endif
@if ($errors->has('content_title')) {{ $errors->first('content_title') }} @endif
@if ($errors->has('content_type')) {{ $errors->first('content_type') }} @endif
@if ($errors->has('available_for')) {{ $errors->first('available_for') }} @endif
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
loader
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@if ($errors->has('subject')) {{ $errors->first('subject') }} @endif
loader
@if ($errors->has('lesson')) {{ $errors->first('lesson') }} @endif
@if ($errors->has('upload_date')) {{ $errors->first('upload_date') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('source_url')) {{ $errors->first('source_url') }} @endif
upload_file):trans('lang.file').''}}" id="placeholderUploadContent"> @if ($errors->has('content_file')) {{ $errors->first('content_file') }} @endif
(jpg,png,jpeg,pdf,doc,docx,mp4,mp3 are allowed for upload)
g_online_exam !=null ? "checked":""}} @endif id="checkExamOn" onclick="ExamOn()"/>
@if ($errors->has('group')) {{ $errors->first('group') }} @endif
@if ($errors->has('group_name')) {{ $errors->first('group_name') }} @endif
@if(!isset($editData))
@if ($errors->has('marks')) {{ $errors->first('marks') }} @endif
@endif @if(!isset($editData)) @endif
@if ($errors->has('exam_title')) {{ $errors->first('exam_title') }} @endif
@php $tooltip = ""; if(userPermission(89) ){ @$tooltip = ""; }else{ @$tooltip = "You have no permission to add"; } @endphp
{{ Form::close() }}
@endsection @include('backEnd.partials.date_picker_css_js') @section('script') @endsection