@extends('back/layouts.app') @section('content') @component('components.admin.page-header', [ 'title' => __('actions.edit') . ' ' . $data->title, 'routes' => [ ['header_route' => route('dashboard.lessons.index'), 'header_name' => __('domain.lessons')], ['header_name' => __('actions.edit')] ] ]) @endcomponent
@csrf @method('PUT')
@if ($errors->has('started_at')){{ $errors->first('started_at') }}@endif
@if ($errors->has('brief')){{ $errors->first('brief') }}@endif
{{-- --}}
@if ($errors->has('html')){{ $errors->first('html') }}@endif
{{--
--}} {{-- --}} {{-- --}} {{--
--}}
@component('components.options.options', [ 'options' => $options, 'dataValue' => $data->options ]) @endcomponent
@endsection {{--@extends('back/layouts.app')--}} {{--@section('css_pagelevel')--}} {{----}} {{--@endsection--}} {{--@section('content')--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

--}} {{--
--}} {{-- {{ __('words.edit') }}    {{ request()->query('language') }} --}} {{--
--}} {{--

--}} {{-- @include('back.includes.page-alert')--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- {{ csrf_field() }}--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('teacher_id'))--}} {{-- {{ $errors->first('teacher_id') }}--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- @if ($errors->has('course_id'))--}} {{-- {{ $errors->first('course_id') }}--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('title')){{ $errors->first('title') }}@endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('alias')){{ $errors->first('alias') }}@endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- حذف الصورة--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('sort'))--}} {{-- {{ $errors->first('sort') }}--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('header')){{ $errors->first('header') }}@endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('meta_description')){{ $errors->first('meta_description') }}@endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('meta_keywords')){{ $errors->first('meta_keywords') }}@endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('brief')){{ $errors->first('brief') }}@endif--}} {{--
--}} {{--
--}} {{-- --}}{{----}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('video')){{ $errors->first('video') }}@endif--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('link_zoom')){{ $errors->first('link_zoom') }}@endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('started_at')){{ $errors->first('started_at') }}@endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- @if ($errors->has('html')){{ $errors->first('html') }}@endif--}} {{--
--}} {{--
--}} {{-- --}}{{----}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- @if ($errors->has('options'))--}} {{-- {{ $errors->first('options') }}--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- @if ($errors->has('values'))--}} {{-- {{ $errors->first('values') }}--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
  • --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @if (Session::has('oldOptions'))--}} {{-- @foreach(Session::get('oldOptions') as $a=>$opt)--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @endforeach--}} {{-- @else--}} {{-- @foreach($data->options as $b=>$option)--}} {{-- --}} {{-- @if($option->options)--}} {{-- @if(count($option->options->option_info))--}} {{-- --}} {{-- @endif--}} {{-- @endif--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @if($option->options)--}} {{-- @if(count($option->options->option_info))--}} {{-- --}} {{-- @endif--}} {{-- @endif--}} {{-- --}} {{-- @endforeach--}} {{-- @foreach($data->option_values as $c=>$option_value)--}} {{-- --}} {{-- @if($option->options)--}} {{-- @if(count($option->options->option_info))--}} {{-- --}} {{-- @endif--}} {{-- @endif--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @if($option->options)--}} {{-- @if($option->options->option_info)--}} {{-- --}} {{-- @endif--}} {{-- @endif--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @endforeach--}} {{-- @endif--}} {{-- --}} {{--
    OptionValueTitleRemove
    {{ $opt[4] }}{{ $opt[1] }}{{ $opt[2] }}{{ $opt[3] }}
    {{$option->options->option_info[0]->title}}{{$option->options->type}}{{$option->value}}
    {{$option_value->options->option_info[0]->title}}{{$option_value->option_value_info[0]->title}}{{$option_value->options->type}}{{$option_value->pivot->option_value_id}}
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{-- --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--@section('js_pagelevel')--}} {{----}} {{----}} {{----}} {{----}} {{--@endsection--}} {{--@endsection--}}