@if($message = Session::get('success'))
{{$message}}
@endif
@if($message = Session::get('delete'))
{{$message}}
@endif
@can('create')
@endcan
Survey Management
No | Title | Description | Status | Submission date | Action |
---|---|---|---|---|---|
{{ $d->id }} | {{ $d->title }} | {{ $d->description }} | {{ $d->status }} | {{ date("l | dS F, Y g:i A",strtotime($d->create)) }} | Show @can('edit') Edit @endcan @can('delete') {!! Form::open(['method' => 'DELETE','route' => ['survey.destroy', $d->id],'style'=>'display:inline']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @endcan |