@extends('admin.layouts.default')
@section('title')
| Show Comment Details
@endsection
@section('content')
Comment Details
ID |
{{ $comment->id }} |
Name |
{{ $comment->name }} |
Email |
{{ $comment->email }} |
In Response To |
{{ $comment->post['title'] }} |
Comments |
{{ $comment->comment }} |
Current Status |
{{ $comment->approved }} |
@if($comment->website)
Website |
{{ $comment->website }} |
@endif
Created At |
{{ Helper::utcToLocalDateTime($comment['created_at']) }} |
{{ Form::open( ['action' => ['CommentController@commentApprovalStatus',$comment->id], 'method' => 'post']) }}
{{ Form::Label('approved', 'Approve Comments') }}
{{ Form::select('approved', ['Rejected' => 'Rejected', 'Approved' => 'Approved'],
$comment->approved,array('class'=>'border-style')) }}
{{ Form::submit('Submit' , ['class' => 'create-btn']) }}
{{ Form::close() }}
@endsection