@include('links.header') Testimonial List
@if(Auth::user()->role_id==1) Add Testimonial @endif

@if (Session::has('msg')) @endif @if (Session::has('msg_e')) @endif
@if(!empty($testimonial_list)) @foreach($testimonial_list AS $index=>$value) @foreach($value->testimonial_descriptions as $desp) @endforeach @endforeach @endif
# Name URL Alias Status Date Action
# Title URL Alias Status Date Action
{{ $index+1 }} {{ $desp->title }} {{ $value->url_alias }} {{ $value->status ? 'Active' : 'In-Active' }} {{ $value->created_at->format('d/m/Y H:i') }} Edit       {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'DELETE', 'onsubmit' => "return confirm('Are you sure. You want to delete record!');", 'route' => ['testimonials.destroy', $value->id])) !!} {!! Form::submit('Delete', array('class' => 'btn btn-danger')) !!} {!! Form::close() !!}
@include('links.footer')