]> git.ipfire.org Git - ipfire.org.git/blob - src/templates/blog/delete.html
Update Christman campaign copy
[ipfire.org.git] / src / templates / blog / delete.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("Delete %s") % post.title }}{% end block %}
4
5 {% block modal %}
6 <div class="card">
7 <div class="card-body">
8 <h5 class="card-title mb-1">{{ _("Delete Post") }}</h5>
9 <h6 class="card-subtitle text-muted mb-3">{{ post.title }}</h6>
10
11 <p>
12 {{ _("Do you really want to delete \"%s\"?") % post.title }}
13 </p>
14
15 <form action="" method="POST">
16 {% raw xsrf_form_html() %}
17
18 <button type="submit" class="btn btn-primary btn-block">{{ _("Delete") }}</button>
19 <a class="btn btn-secondary btn-block" href="/post/{{ post.slug }}">{{ _("Cancel") }}</a>
20 </form>
21 </div>
22 </div>
23 {% end block %}