@inject('request', 'Illuminate\Http\Request') @extends('backend.layouts.app') @section('title', __('labels.backend.lessons.title').' | '.app_name()) @section('content')

@lang('labels.backend.lessons.title')

@can('lesson_create') @endcan
{!! Form::label('course_id', trans('labels.backend.lessons.fields.course'), ['class' => 'control-label']) !!} {!! Form::select('course_id', $courses, (request('course_id')) ? request('course_id') : old('course_id'), ['class' => 'form-control js-example-placeholder-single select2 ', 'id' => 'course_id']) !!}
@if(request('course_id') != "" || request('show_deleted') != "")
@can('lesson_delete') @if ( request('show_deleted') != 1 ) @endif @endcan @if( request('show_deleted') == 1 ) @else @endif
@lang('labels.general.sr_no') @lang('labels.backend.lessons.fields.title') @lang('labels.backend.lessons.fields.published')@lang('strings.backend.general.actions')  @lang('strings.backend.general.actions')  
@endif
@stop @push('after-scripts') @endpush