KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

delete_post.twig 1.1KB

9 years ago
123456789101112131415161718192021222324
  1. {% extends "layout.twig" %}
  2. {% block title %}${ "Delete “%s”?" | translate | format(post.title | escape) }{% endblock %}
  3. {% block content %}
  4. <h1>${ "Are you sure you want to delete &#8220;%s&#8221;?" | translate | format(post.title) }</h1>
  5. <form class="delete" action="{% admin "destroy_post" %}" method="post" accept-charset="utf-8">
  6. <fieldset>
  7. <blockquote>
  8. <h2>${ "Excerpt" | translate }</h2>
  9. $post.excerpt
  10. </blockquote>
  11. <br />
  12. <div class="center">
  13. <button name="destroy" value="indubitably" class="center boo">${ "DESTROY!" | translate }</button>
  14. <button name="destroy" value="bollocks" type="submit" class="yay">${ "Cancel" | translate }</button>
  15. </div>
  16. <input type="hidden" name="id" value="$post.id" id="id" />
  17. <input type="hidden" name="hash" value="$site.secure_hashkey" id="hash" />
  18. </fieldset>
  19. </form>
  20. {% endblock %}