diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-07-11 03:29:33 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-07-11 03:29:38 +0100 |
| commit | 31b8a7931bdb95b296e236c11705206507b035d8 (patch) | |
| tree | dafcdca8f5dea95a326c08125f7d035be812ddd9 /app/templates/threads/delete_reply.html | |
| parent | a4dd4f04293b6ad6dab5d3dc0a4c52a3290b4394 (diff) | |
| download | cheatdb-31b8a7931bdb95b296e236c11705206507b035d8.tar.xz | |
Add ability for moderators to delete comments
Diffstat (limited to 'app/templates/threads/delete_reply.html')
| -rw-r--r-- | app/templates/threads/delete_reply.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/templates/threads/delete_reply.html b/app/templates/threads/delete_reply.html new file mode 100644 index 0000000..6c145df --- /dev/null +++ b/app/templates/threads/delete_reply.html @@ -0,0 +1,22 @@ +{% extends "base.html" %} + +{% block title %} + Delete reply in {{ thread.title }} +{% endblock %} + +{% block content %} + <form method="POST" action="" class="card box_grey"> + <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> + + <h3 class="card-header">Delete reply by {{ reply.author.display_name }}</h3> + <div class="card-body"> + {{ reply.comment | markdown }} + </div> + <div class="card-body"> + <p>Deleting is permanent</p> + + <a class="btn btn-secondary mr-3" href="{{ thread.getViewURL() }}">Cancel</a> + <input type="submit" value="Delete" class="btn btn-danger" /> + </div> + </form> +{% endblock %} |
