@extends('admin.app') @section('page_title','Edit Course') @section('page_location') @endsection @section('main-content')

Edit Course

{{ Form::model($course,['route' => ['course.update' , $course->id ],'method' => 'PUT','class' => 'form' ,'id' =>'createroomsform','files' => true] ) }}
{!! Form::label('Package Name (Exam Name and Subject Name)') !!} {!! Form::text('package_name', null, array('required', 'class'=>'form-control', 'placeholder'=>'Package Name (Exam Name and Subject Name)')) !!}
{!! Form::label('Slug') !!} {!! Form::text('slug', null, array('required', 'class'=>'form-control', 'placeholder'=>'Slug')) !!}
@php if($course->popular =='Yes' ) { @endphp {{Form::checkbox('popular', 'Yes', true) }} @php }else{ @endphp {{ Form::checkbox('popular', 'Yes', false) }} @php } @endphp
{{-- {{Form::label('product_image', 'Product Image', ['class' => 'control-label'])}} {{Form::file('product_image', ['accept'=>"image/*"])}} --}} @php $photos =array(); if( !empty($course->product_image)) { $photos = unserialize( $course->product_image); if(count($photos)>0) { $img_path=url('/logo/'.$photos['product_image']); echo ''; } } @endphp {{-- {{Form::label('product_image', 'Product Image', ['class' => 'control-label'])}} {{Form::file('product_image', ['accept'=>"image/*"])}} --}}
{!! Form::label('Product USP (Details)') !!} {!! Form::textarea('product_details', null, array('class'=>'form-control', 'placeholder'=>'Description','class' => 'ckeditor')) !!}
{!! Form::label('Recording (Month - Year)') !!} {!! Form::text('recording', null, array( 'class'=>'form-control', 'placeholder'=>'Recording (Month - Year)')) !!}
{!! Form::label('For Hard Copy Study Material, provide details') !!} {!! Form::text('hard_copy', null, array( 'class'=>'form-control', 'placeholder'=>'For Hard Copy Study Material, provide details')) !!}
{!! Form::label('Final Selling Price (Inclusive of All Taxes)') !!} {!! Form::text('price', null, array( 'id'=>'final_selling_price', 'class'=>'form-control', 'placeholder'=>'Final Selling Price (Inclusive of All Taxes)')) !!}
{!! Form::label('Discounted Price') !!} {!! Form::text('discounted_price', null, array( 'id'=>'discounted_price', 'class'=>'form-control', 'placeholder'=>'Discounted Price')) !!}
{!! Form::label('Applicable for the Attempt (e.g. May 2019, Nov 2019)') !!} {!! Form::text('applicable_for_attempt', null, array( 'class'=>'form-control', 'placeholder'=>'e.g. May 2019, Nov 2019')) !!}
{!! Form::label('Total No. of Lectures') !!} {!! Form::text('lectures_no', null, array( 'class'=>'form-control', 'placeholder'=>'Total No. of Lectures')) !!}
{!! Form::label('Total No. of Hours') !!} {!! Form::text('hours_no', null, array( 'class'=>'form-control', 'placeholder'=>'Total No. of Hours')) !!}
{!! Form::label('Video Language') !!} {!! Form::text('video_language', null, array( 'class'=>'form-control', 'placeholder'=>'Video Language')) !!}
{!! Form::label('No. of Views Per Lecture') !!} {!! Form::text('lectures_view', null, array( 'class'=>'form-control', 'placeholder'=>'No. of Views Per Lecture')) !!}
{!! Form::label('Fast Forward - if "Yes" provide details (E.g. 1.0 x, 1.2 x, 1.5x etc)') !!} {!! Form::text('fast_forward_details', null, array( 'class'=>'form-control', 'placeholder'=>'Fast Forward Provided Details')) !!}
{!! Form::label('Validity (in Months OR provide date)') !!} {!! Form::text('expire_validity', null, array( 'class'=>'form-control', 'placeholder'=>'Validity (in Months OR provide date)')) !!}
{!! Form::label('Topics Covered') !!} {!! Form::text('topics_covered', null, array( 'class'=>'form-control', 'placeholder'=>'Topics Covered')) !!}
{!! Form::label('How the Doubt clearing session will be available?') !!} {!! Form::text('doubt_clearing_availability', null, array( 'class'=>'form-control', 'placeholder'=>'How the Doubt clearing session will be available?')) !!}
{!! Form::label('How the amendmend will be provided?') !!} {!! Form::text('amendmend', null, array( 'class'=>'form-control', 'placeholder'=>'How the amendmend will be provided?')) !!}
{!! Form::label('Video Runs on') !!} {!! Form::text('video_run_on', null, array( 'class'=>'form-control', 'placeholder'=>'Video Runs on')) !!}
{!! Form::label('If Test Series Provided, Mention complete details') !!} {!! Form::textarea('mention_details', null, array('class'=>'form-control', 'placeholder'=>'','class' => 'ckeditor')) !!}
{!! Form::label('If Providing Charts, Mention details.') !!} {!! Form::textarea('charts_details', null, array('class'=>'form-control', 'placeholder'=>'','class' => 'ckeditor')) !!}
{!! Form::label('If Dispatch partly, mention dispatch schedule.') !!} {!! Form::textarea('dispatch_schedule', null, array('class'=>'form-control', 'placeholder'=>'','class' => 'ckeditor')) !!}
{!! Form::label('Lectures Link') !!} {!! Form::text('lectures_link', null, array( 'class'=>'form-control', 'placeholder'=>'Lectures Link')) !!}
{!! Form::label('Books Images Link') !!} {!! Form::text('books_images_link', null, array( 'class'=>'form-control', 'placeholder'=>'Books Images Link')) !!}
{!! Form::label('Other Details (If anything)') !!} {!! Form::textarea('other_details', null, array('class'=>'form-control', 'placeholder'=>'Other Details (If anything)','class' => 'ckeditor')) !!}
{!! Form::label('Meta Title') !!} {!! Form::text('meta_title', null, array( 'class'=>'form-control', 'placeholder'=>'Meta Title')) !!}
{!! Form::label('Meta Tags') !!} {!! Form::text('meta_tags', null, array( 'class'=>'form-control', 'placeholder'=>'Meta Tags')) !!}
{!! Form::label('Meta Details') !!} {!! Form::textarea('meta_details', null, array('class'=>'form-control', 'placeholder'=>'Meta Details','class' => 'ckeditor')) !!}
{!! Form::submit('Update!!', array('class'=>'btn btn-primary')) !!}
{!! Form::close() !!}
@endsection