@extends('admin.layouts.main') @section('title','Tour List') @section('content') @if(Session::has('message'))
{{Session::get('message')}}
@endif
@foreach($travel as $travels) @if(!Auth::guest()) @if(Auth::user()->id==$travels->owner_id) @endif @endif @endforeach
Title Detail Location Image Edit Delete
{{$travels->title}} {{$travels->detail}} {{$travels->location}} {!! Form::open(['method'=>'DELETE','route'=>['supertravel.destroy',$travels->id]]) !!} {!! Form::submit('DELETE',$attribute=['class'=>'btn btn-danger']); !!} {!! Form::close() !!} @else
@endsection