mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 23:24:07 -06:00
43 lines
1.3 KiB
PHP
43 lines
1.3 KiB
PHP
@extends('layouts.default')
|
|
@section('content')
|
|
<div class="row">
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
<p class="lead">Remember that deleting something is permanent.</p>
|
|
|
|
</div>
|
|
<!-- TODO cleanup for new forms and layout. -->
|
|
</div>
|
|
|
|
{{Form::open(['class' => 'form-horizontal','url' => route('piggybanks.destroy',$piggybank->id)])}}
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6">
|
|
<h4> </h4>
|
|
<p class="text-info">
|
|
This form allows you to delete the piggy bank "{{{$piggybank->name}}}".
|
|
</p>
|
|
<p class="text-info">
|
|
Destroying an envelope does not remove any transactions or accounts.
|
|
</p>
|
|
<p class="text-danger">
|
|
Are you sure?
|
|
</p>
|
|
|
|
<div class="form-group">
|
|
<div class="col-sm-8">
|
|
<input type="submit" name="submit" value="Remove piggy bank" class="btn btn-danger" />
|
|
@if($piggybank->repeats == 1)
|
|
<a href="{{route('piggybanks.index.repeated')}}" class="btn-default btn">Cancel</a>
|
|
@else
|
|
<a href="{{route('piggybanks.index.piggybanks')}}" class="btn-default btn">Cancel</a>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{{Form::close()}}
|
|
|
|
@stop
|