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

35 lines
1.2 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-05-02 04:32: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">
2015-06-20 02:54:01 -05:00
<div class="box box-danger">
2015-06-20 00:29:25 -05:00
<div class="box-header with-border">
<i class="fa fa-exclamation-circle"></i>
{{ trans('form.delete_piggyBank', {'name': piggyBank.name}) }}
2015-05-02 04:32:45 -05:00
</div>
2015-06-20 00:29:25 -05:00
<div class="box-body">
<p class="text-danger">
{{ trans('form.permDeleteWarning') }}
</p>
2015-05-02 04:32:45 -05:00
<p>
{{ trans('form.piggyBank_areYouSure', {'name': piggyBank.name}) }}
2015-05-02 04:32:45 -05:00
</p>
<p>
<input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn btn-danger" />
<a href="{{ URL.previous() }}" class="btn-default btn">{{ trans('form.cancel') }}</a >
2015-05-02 04:32:45 -05:00
</p>
</div>
</div>
</div>
</div>
</form>
{% endblock %}