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

Violation : {{ $violation->id }}

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

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