25 lines
849 B
Twig
25 lines
849 B
Twig
|
{% extends "layouts" ~ DIR ~ "default.twig" %}
|
||
|
|
||
|
{% block title %}{{ "Delete Post?" | translate }}{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<h2>{{ "Delete Post?" | translate }}</h2>
|
||
|
<form class="delete" action="{{ url('destroy_post') }}" method="post" accept-charset="UTF-8">
|
||
|
<fieldset role="presentation">
|
||
|
<p>
|
||
|
{{ "“%s” will be permanently deleted." | translate | format(post.title() | striptags | oneof("[Untitled]" | translate)) }}
|
||
|
</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="id" value="{{ post.id }}" id="id">
|
||
|
<input type="hidden" name="hash" value="{{ authenticate() }}" id="hash">
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
{% endblock %}
|