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

Charge : {{ $charge->id }}

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

ID{{ $charge->id }}
Name {{ $charge->name }}
Status {!! $charge->status == 0 ? 'Inactive' : 'Active' !!}
@endsection