clear all wishlists button

This commit is contained in:
Wingy 2021-09-13 16:47:56 -04:00
parent 9d979b6825
commit ccfc10002d
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,9 @@
extends layout.pug
block content
h2 Wishlist Deletion
p This will instantly <b>irreversibly delete all wishlists!</b> Consider making a backup of the database before using this.
form(method='POST', action=`${_CC.config.base}admin-settings/clear-wishlists`)
.field
.control
input.button.is-danger(type='submit' value=`Clear all wishlists`)