@extends('core::base.layouts.master') @section('title') {{ translate('Edit Comment') }} @endsection @section('custom_css') @endsection @section('main_content')
@csrf

{{ translate('Edit Comment') }}

@if ($errors->has('id'))

{{ $errors->first('id') }}

@endif {{-- Author --}}

{{ translate('Author') }}

{{ translate('Name') }}
@if ($errors->has('user_name'))

{{ $errors->first('user_name') }}

@endif
{{ translate('Email') }}
@if ($errors->has('user_email'))

{{ $errors->first('user_email') }}

@endif
{{ translate('Url') }}
@if ($errors->has('user_website'))

{{ $errors->first('user_website') }}

@endif
@if ($errors->has('comment'))

{{ $errors->first('comment') }}

@endif
{{-- Add Blog Side Field --}}
{{-- Publish Section --}}

{{ translate('Save') }}

{{-- Comment Status part --}}
{{ translate('Status') }} : @switch($comment->status) @case(1) {{ translate('Approve') }} @break @case(2) {{ translate('Pending') }} @break @case(3) {{ translate('Spam') }} @break @default @endswitch
status == '1' ? 'checked':'' }}/>
status == '2' ? 'checked':'' }}/>
status == '3' ? 'checked':'' }}/>
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif {{-- Comment Status part end --}} {{-- Submitted part --}}
{{ translate('Submitted on') }} : @if ($errors->has('comment_date'))

{{ $errors->first('comment_date') }}

@endif
{{-- Submitted part end --}} {{-- In Response to part --}}
{{ translate('In Response to') }} : {{ $comment->blog->translation('name', getLocale())}}
{{-- In Response to part end --}} {{-- In Reply to part --}} @if (isset($comment->parent))
@php $parent_comment = Core\Models\TlBlogComment::where('id', $comment->parent)->first()->user_name; @endphp {{ translate('In reply to') }} : {{ $parent_comment }}
@endif {{-- In Reply to part end --}}
{{-- Publish Section End --}}
{{-- Add Blog Side Field End --}}
@endsection @section('custom_scripts') @endsection