@extends('layouts.frontend') @section('content')
@include('course.courseheader')
@include('course.createsidebar')
{!! Form::open(array('url'=>'course/updatecourse', 'method' => 'post', 'class'=>'form-horizontal saveLabel','files' => true , 'parsley-validate'=>'','novalidate'=>' ','onsubmit'=>'return validateForm()')) !!} {!! Form::hidden('course_id', $course->course_id ) !!} {!! Form::hidden('step', $step ) !!}

{!! Lang::get('core.Details')!!}

{!! Lang::get('core.details_txt')!!}

@php( $description = strip_tags($course->description)) {!! Form::textarea('description',$description,array('class'=>'form-control mceEditor','id'=>'description')) !!}
    @php( $key_goal = explode('--txt--', $course->course_goal) ) @if($key_goal[0] != '') @php ( $i=1 ) @foreach ($key_goal as $key => $value)
  • {{$value}}

  • @php ( $i++ ) @endforeach @endif
    @php ($key_goal = explode('--txt--', $course->int_audience) ) @if($key_goal[0] != '') @php ( $i=1 ) @foreach ($key_goal as $key => $value)
  • {{$value}}

  • @php ( $i++ ) @endforeach @endif
    @php ( $key_goal = explode('--txt--', $course->course_req) ) @if($key_goal[0] != '') @php ( $i=1 ) @foreach ($key_goal as $key => $value)
  • {{$value}}

  • @php( $i++ ) @endforeach @endif
{!! Form::radio('course_level', '1', ($course->course_level == 0 || $course->course_level == 1) ? true : false, array('class'=>'')) !!} {!! Lang::get('core.Introductory') !!} {!! Form::radio('course_level', '2', ($course->course_level == 2) ? true : false, array('class'=>'')) !!} {!! Lang::get('core.Intermediate') !!} {!! Form::radio('course_level', '3', ($course->course_level == 3) ? true : false, array('class'=>'')) !!} {!! Lang::get('core.Advanced') !!} {!! Form::radio('course_level', '4', ($course->course_level == 4) ? true : false, array('class'=>'')) !!} {!! Lang::get('core.all_levels') !!}
{!! Form::text('download_validity',$course->download_validity,array('class'=>'form-control mceEditor','id'=>'download_validity','placeholder'=> Lang::get('core.in_days'))) !!}
{!! Form::checkbox('course_admin_discount', '1',($course->course_admin_discount == 1) ? true : false, array('class'=>'')) !!} {!! Lang::get('core.fr_mactive')!!}
{!! Form::close() !!}
@stop