@extends('Layouts.adminLayout') @section('title') {{__('Edit Comment')}} @endsection @section('css') @endsection @section('breadcrumb')
@endsection @section('content')
{{__('Edit Comment')}}
@CSRF
@if ($errors->has('lang'))
{{ $errors->first('lang') }}
@endif
@if ($errors->has('fullname'))
{{ $errors->first('fullname') }}
@endif
@if ($errors->has('title'))
{{ $errors->first('title') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
  • commentable_type == 1 && old('type') == null)) checked @endif tabindex="7" onchange="LoadType()" id="checkboxblog" > {{__('Blog')}}
  • commentable_type == 2 && old('type') == null)) checked @endif tabindex="8" onchange="LoadType()" id="checkboxtour" > {{__('Product')}}
  • @if ($errors->has('type'))
    {{ $errors->first('type') }}
    @endif
@if($data['Comment']->commentable_type == 2) @php $display_1="none";@endphp @php $display_2="block";@endphp @php $display_3="flex";@endphp @else @php $display_1="block";@endphp @php $display_2="none";@endphp @php $display_3="none";@endphp @endif
@if ($errors->has('blog'))
{{ $errors->first('blog') }}
@endif
@if ($errors->has('product'))
{{ $errors->first('product') }}
@endif
@if ($errors->has('recommend'))
{{ $errors->first('recommend') }}
@endif

{{__('Advantage')}}

@php $arrayAdvantage=[];@endphp @php $arrayAdvantage=json_decode($data['Comment']->advantage); @endphp @if($arrayAdvantage!=null) @foreach($arrayAdvantage as $key => $item)
@endforeach @endif

{{__('Disadvantage')}}

@php $arrayDisadvantage=[];@endphp @php $arrayDisadvantage=json_decode($data['Comment']->disadvantage); @endphp @if($arrayDisadvantage!=null) @foreach($arrayDisadvantage as $key => $item)
@endforeach @endif
@if ($errors->has('text'))
{{ $errors->first('text') }}
@endif
@endsection @section('script') @endsection