@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/select2/css/select2.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/select2/css/select2-bootstrap.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/css/bootstrap-switch-rtl.min.css') !!} @endsection @section('content')
{{__('Comment')}} | {{__('Rate')}} | {{__('Status')}} | {{__('Action')}} | ||
---|---|---|---|---|---|
{!! $loop->iteration !!} | {!! strip_tags(Str::words($comment->body, 10, ' ...')) !!} | {{ @$comment->commentable->category->title }} / {{ @$comment->commentable->title }} |
({{ @$comment->rate }}/5)
@for ($i=1; $i <= 5 ; $i++)
@if ($i <= round($comment->rate) )
@else
@endif
@endfor
|
{{ Form::open(['method' => 'Put', 'route' => ['admin.comments.update', $comment->id]]) }} {{ Form::close() }} | {{ Form::open(['method' => 'DELETE', 'route' => ['admin.comments.destroy', $comment->id]]) }} {{ Form::close() }} |