@extends('layouts.backend') @section('title', '| Testimonials Management') @section('content')
@if ($message = Session::get('success'))
{{ $message }}
@endif @if ($message = Session::get('error'))
{{ $message }}
@endif

Testimonials

@foreach($testimonials as $testimonial) @endforeach
id Profile Name Occupation Status Created Action
{{ $testimonial->id }} @if($testimonial->profile) @else @endif {{ $testimonial->name }} {{ $testimonial->occupation }} @if($testimonial->status == "yes") Yes @elseif($testimonial->status == "no") No @endif {{ $testimonial->created_at }}
Show Edit {!! Form::open(['method' => 'DELETE','route' => ['testimonials.destroy', $testimonial->id]]) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!}
@stop