@extends('back/layouts.app') @section('content')

{{ __('words.add') }}    

@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
@component('components.options.options', [ 'options' => $options, //'dataValue' => $data->options ]) @endcomponent
{{--

{{__('words.type_name')}}

@isset($options) @foreach( $options as $option )
@if ($errors->has('type_'.$option->type)){{ $errors->first('alias') }}@endif
@endforeach @endisset
--}}

@section('js_pagelevel') @endsection @endsection