@extends('layouts.admin') @section('meta') {{trans('home.show_training')}} @endsection @section('content')
{!! Form::open(['method'=>'PATCH','url' => 'admin/trainings/'.$training->id, 'data-toggle'=>'validator', 'files'=>'true']) !!}
{{trans('home.training_info')}}

@php $user_c = auth()->user()->roles->pluck('name')->toArray()[0]; @endphp
{{--@if($user_c != 'منسق خارجي') --}}
@error('name_en') {{ $message }} @enderror
{{--@endif--}}
@error('name_ar') {{ $message }} @enderror
@if(auth()->user()->type != 'instructor')
@endif @if(auth()->user()->type != 'instructor')
@if($training->image) image") }}" alt=""> @else {{ trans('home.image_not_found') }} @endif
@endif @if(auth()->user()->type != 'instructor')
@endif
@if(auth()->user()->type != 'instructor')
@endif
@if(auth()->user()->type != 'instructor')
@endif
@if(auth()->user()->type != 'instructor')
@endif
@if(auth()->user()->type != 'instructor')
@endif
@if(auth()->user()->type != 'instructor')
@if($training->training_certificate) training_certificate") }}" alt=""> @else {{ trans('home.image_not_found') }} @endif

{{trans('home.status')}}

@endif
{{trans('home.training description')}}

{!! Form::close() !!}
@endsection