@extends('home')
@section('title')
@endsection
@section('styles')
@endsection
@section('content')
{!! Form::open(array('route' => ['admin.comments.update',$comment->id],'method' => 'put' ,'files' => true ,'class' => 'form-horizontal','id' => 'form_new_company')) !!}
{{ __('Comments & ratings') }}
-
{{ @$comment->commentable->title }}
{{ \Carbon\Carbon::createFromTimeStamp(strtotime($comment->created_at))->diffForHumans() }}
{{ date('Y-m-d', strtotime($comment->created_at)) }}
@for ($i=1; $i <= 5 ; $i++)
@if ($i <= round($comment->rate) )
@else
@endif
@endfor
({{ $comment->rate }}/5)
{!! Form::close() !!}
@endsection
@section('scripts')
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-confirmation/bootstrap-confirmation.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/select2/js/select2.full.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/lib/markdown.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/js/bootstrap-markdown.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/jquery.validate.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/additional-methods.min.js') !!}
{!! Html::script(Theme::current()->assetPath.'/jquery.filer/js/jquery.filer.js') !!}
{!! Html::script(Theme::current()->assetPath.'/jquery.filer/js/custom.js') !!}
{!! Html::script( asset('vendor/unisharp/laravel-ckeditor/ckeditor.js') ) !!}
@endsection