@extends('backend.layouts.app') @section('title', __('labels.backend.lessons.title').' | '.app_name()) @section('content')

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

@lang('labels.backend.lessons.fields.course') {{ $lesson->course->title or '' }}
@lang('labels.backend.lessons.fields.title') {{ $lesson->title }}
@lang('labels.backend.lessons.fields.slug') {{ $lesson->slug }}
@lang('labels.backend.lessons.fields.lesson_image') @if($lesson->lesson_image)@endif
@lang('labels.backend.lessons.fields.short_text') {!! $lesson->short_text !!}
@lang('labels.backend.lessons.fields.full_text') {!! $lesson->full_text !!}
@lang('labels.backend.lessons.fields.position') {{ $lesson->position }}
@lang('labels.backend.lessons.fields.media_pdf') @if($lesson->mediaPDF != null )

{{$lesson->mediaPDF->url}}

@else

No PDF

@endif
@lang('labels.backend.lessons.fields.media_audio') @if($lesson->mediaAudio != null )

{{$lesson->mediaAudio->url}}

@else

No Audio

@endif
@lang('labels.backend.lessons.fields.downloadable_files') @if(count($lesson->downloadableMedia) > 0 ) @foreach($lesson->downloadableMedia as $media)

{{ $media->name }} ({{ $media->size }} KB)

@endforeach @else

No Files

@endif
@lang('labels.backend.lessons.fields.media_video') @if($lesson->mediaVideo != null )

{{$lesson->mediaVideo->url}}

@else

No Videos

@endif
@lang('labels.backend.lessons.fields.published') {{ Form::checkbox("published", 1, $lesson->published == 1 ? true : false, ["disabled"]) }}
@lang('strings.backend.general.app_back_to_list')
@stop