@extends('layouts.default') @section('content') {!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $category) !!} {!! Form::open(['class' => 'form-horizontal','id' => 'destroy','url' => route('categories.destroy',$category->id)]) !!}
Delete category "{{{$category->name}}}"

Are you sure that you want to delete category "{{$category->name}}"?

@if($category->transactionjournals()->count() > 0)

Category "{{{$category->name}}}" still has {{$category->transactionjournals()->count()}} transactions connected to it. These will not be removed but will lose their connection to this category.

@endif

Cancel

{!! Form::close()!!} @stop