@extends('back/layouts.app') @section('content')
{{-- @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif --}}

{{ __('core.edit') }} {{ $translation->title?? $data->title_general }}   {{ request()->query('language') }}

{{-- @if(session()->has('success'))
{{ session()->get('success') }}
@endif --}} {{-- @include('back.includes.breadcrumb',['routes' => [ ['slug' => route('dashboard.courses.index',$site->alias),'name' => $site->name], ['name' => __('core.add')]] ]) --}} @include('back.includes.page-alert')
{{ csrf_field() }}
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
{{----}}
@if ($errors->has('image')) {{ $errors->first('image') }} @endif
@if($data->id == 1)
@if ($errors->has('video')){{ $errors->first('video') }}@endif
@endif
{{-- --}} @if ($errors->has('html')){{ $errors->first('html') }}@endif
@if ($errors->has('meta_description')){{ $errors->first('meta_description') }}@endif
@if ($errors->has('header')){{ $errors->first('header') }}@endif
@if ($errors->has('meta_keywords')){{ $errors->first('meta_keywords') }}@endif
@endsection