firefly-iii/resources/views/piggy-banks/delete.twig

34 lines
1.3 KiB
Twig
Raw Normal View History

2015-05-02 04:32:45 -05:00
{% extends "./layout/default.twig" %}
2015-06-19 13:59:14 -05:00
{% block breadcrumbs %}
2015-05-02 04:32:45 -05:00
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, piggyBank) }}
2015-06-19 13:59:14 -05:00
{% endblock %}
{% block content %}
2015-06-21 03:50:45 -05:00
{{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('piggy-banks.destroy',piggyBank.id)}) }}
<div class="row">
<div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12">
<div class="box box-danger">
<div class="box-header with-border">
2015-08-23 00:41:12 -05:00
<h3 class="box-title">{{ trans('firefly.delete_piggy_bank', {'name': piggyBank.name}) }}</h3>
2015-06-21 03:50:45 -05:00
</div>
<div class="box-body">
<p class="text-danger">
{{ trans('form.permDeleteWarning') }}
</p>
2015-05-02 04:32:45 -05:00
2015-06-21 03:50:45 -05:00
<p>
{{ trans('form.piggyBank_areYouSure', {'name': piggyBank.name}) }}
</p>
</div>
<div class="box-footer">
<input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger pull-right"/>
<a href="{{ URL.previous() }}" class="btn-default btn">{{ trans('form.cancel') }}</a>
</div>
2015-05-02 04:32:45 -05:00
</div>
</div>
</div>
2015-06-21 03:50:45 -05:00
{{ Form.close|raw }}
2015-05-02 04:32:45 -05:00
{% endblock %}