@extends('layouts.app') @section('content')

Transporter : {{ $transporter->id }}

{!! Form::open([ 'method'=>'DELETE', 'url' => ['admin/transporter', $transporter->id], 'style' => 'display:inline' ]) !!} {!! Form::button(' Delete', array( 'type' => 'submit', 'class' => 'btn red btn-xs', 'title' => 'Delete', 'onclick'=>'return confirm("Confirm delete?")' ))!!} {!! Form::close() !!}

ID{{ $transporter->id }}
Name {{ $transporter->name }}
Type {!! $transporter->type == 1 ? 'Own' : 'Third Party' !!}
@endsection