The backend for the AiteStory website
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.

30 lines
701 B

  1. extends ../base/master
  2. block append css
  3. link[rel="stylesheet"][href="/ui/css/form.css"]
  4. block append js
  5. script[type="text/javascript"][src="/ui/js/form-page.js"]
  6. block menu
  7. import menu
  8. block main
  9. $page = $.Page
  10. article
  11. h1.danger Delete
  12. form[action=$page.OpPath("delete")][method="POST"]
  13. p.danger This is irreversible, so make sure you are deleting the right page.
  14. ul
  15. li <b>ID:</b> #{$.Page.ID}
  16. li <b>Name:</b> #{$.Page.Name}
  17. li <b>Category:</b> #{$.Page.Category}
  18. li <b>Published:</b> #{formatDateLong($.Page.PublishDate)}
  19. ul
  20. input[type="hidden"][name="aft"][value=$.User.SessionID]
  21. button[type="submit"] Delete