25 lines
826 B
Twig
25 lines
826 B
Twig
|
{% extends "layouts" ~ DIR ~ "default.twig" %}
|
||
|
|
||
|
{% block title %}{{ "Delete Upload?" | translate }}{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<h2>{{ "Delete Upload?" | translate }}</h2>
|
||
|
<form class="delete" action="{{ url('destroy_upload') }}" method="post" accept-charset="UTF-8">
|
||
|
<fieldset role="presentation">
|
||
|
<p>
|
||
|
{{ "“%s” will be permanently deleted." | translate | format(filename | fix) }}
|
||
|
</p>
|
||
|
<div class="confirmation">
|
||
|
<button name="destroy" value="indubitably" class="boo">
|
||
|
{{ "Delete!" | translate }}
|
||
|
</button>
|
||
|
<button name="destroy" value="undecidedly" type="submit" class="yay">
|
||
|
{{ "Cancel" | translate }}
|
||
|
</button>
|
||
|
</div>
|
||
|
<input type="hidden" name="file" value="{{ filename | fix(true) }}" id="id">
|
||
|
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
{% endblock %}
|