mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-31 19:27:51 -06:00
35 lines
1.3 KiB
Twig
35 lines
1.3 KiB
Twig
{% extends "./layout/default.twig" %}
|
|
|
|
{% block breadcrumbs %}
|
|
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute().getName(), attachment) }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('attachments.destroy',attachment.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">
|
|
<h3 class="box-title">{{ trans('form.delete_attachment', {'name': attachment.filename}) }}</h3>
|
|
</div>
|
|
<div class="box-body">
|
|
<p class="text-danger">
|
|
{{ trans('form.permDeleteWarning') }}
|
|
</p>
|
|
|
|
<p>
|
|
{{ trans('form.attachment_areYouSure', {'name': attachment.filename}) }}
|
|
</p>
|
|
</div>
|
|
<div class="box-footer">
|
|
<input type="submit" name="submit" value="{{ trans('form.deletePermanently') }}" class="btn pull-right btn-danger"/>
|
|
<a href="{{ URL.previous() }}" class="btn-default btn">{{ trans('form.cancel') }}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{ Form.close|raw }}
|
|
{% endblock %}
|