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_aggregate.twig 1.5KB

9 years ago
1234567891011121314151617181920212223242526272829
  1. {% extends "layout.twig" %}
  2. {% block title %}${ "Delete Aggregate “%s”?" | translate | format(aggregate.name | escape) }{% endblock %}
  3. {% block content %}
  4. <h1>${ "Are you sure you want to delete aggregate &#8220;%s&#8221;?" | translate | format(aggregate.name | escape) }</h1>
  5. <form class="delete" action="{% admin "destroy_aggregate" %}" method="post" accept-charset="utf-8">
  6. <fieldset>
  7. <blockquote class="noitalic">
  8. <ul>
  9. <li><strong>${ "Source URL:" | translate }</strong> $aggregate.url</li>
  10. </ul>
  11. <br />
  12. <label><input type="checkbox" name="delete_posts" checked> Delete posts, too</label>
  13. <br />
  14. ${ trigger.call("delete_aggregate_form") }
  15. </blockquote>
  16. <br />
  17. <div class="center">
  18. <button name="destroy" value="indubitably" class="center boo">${ "DESTROY!" | translate }</button>
  19. <button name="destroy" value="bollocks" type="submit" class="yay">${ "Cancel" | translate }</button>
  20. </div>
  21. <input type="hidden" name="id" value="${ aggregate.name | escape }" id="id" />
  22. <input type="hidden" name="hash" value="$site.secure_hashkey" id="hash" />
  23. </fieldset>
  24. </form>
  25. {% endblock %}