mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
43 lines
1.3 KiB
PHP
43 lines
1.3 KiB
PHP
@extends('layouts.default')
|
|
@section('content')
|
|
{{Form::open(['class' => 'form-horizontal','url' => route('accounts.destroy',$account->id)])}}
|
|
<div class="row">
|
|
<div class="col-lg-6 col-md-12 col-sm-12">
|
|
<div class="panel panel-red">
|
|
<div class="panel-heading">
|
|
Delete account "{{{$account->name}}}"
|
|
</div>
|
|
<div class="panel-body">
|
|
<p>
|
|
Are you sure?
|
|
</p>
|
|
|
|
@if($account->transactions()->count() > 0)
|
|
<p class="text-info">
|
|
Account "{{{$account->name}}}" still has {{$account->transactions()->count()}} transaction(s) associated to it.
|
|
These will be deleted as well.
|
|
</p>
|
|
@endif
|
|
|
|
<p>
|
|
<button type="submit" class="btn btn-default btn-danger">Delete permanently</button>
|
|
<a href="{{URL::previous()}}" class="btn-default btn">Cancel</a >
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6">
|
|
<div class="form-group">
|
|
<div class="col-sm-8">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{{Form::close()}}
|
|
@stop |