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.
35 lines
1.3 KiB
35 lines
1.3 KiB
include ../../components/library
|
|
include comment-review
|
|
.uk-modal-body
|
|
h4.uk-modal-title Report Comment
|
|
form(method="POST", action=`/content-report/comment`, onsubmit="return dtp.app.submitDialogForm(event, 'report comment');").uk-form
|
|
|
|
input(type="hidden", name="resourceType", value= params.resourceType)
|
|
input(type="hidden", name="resourceId", value= params.resourceId)
|
|
input(type="hidden", name="commentId", value= params.commentId)
|
|
|
|
.uk-margin
|
|
+renderCommentReview(comment)
|
|
|
|
.uk-margin
|
|
select(id="category", name="category").uk-select
|
|
option(value="none") --- Select category ---
|
|
option(value="spam") Spam
|
|
option(value="violence") Violence/Threats
|
|
option(value="porn") Porn
|
|
option(value="doxxing") Doxxing
|
|
option(value="other") Other
|
|
|
|
.uk-margin
|
|
textarea(id="reason", name="reason", rows="4", placeholder="Enter additional notes here").uk-textarea.uk-resize-vertical
|
|
|
|
.uk-margin
|
|
label
|
|
input(id="block-author", name="blockAuthor", type="checkbox", checked).uk-checkbox
|
|
| Also block #{comment.author.username}
|
|
|
|
div(uk-grid).uk-grid-small.uk-flex-between
|
|
.uk-width-auto
|
|
button(type="button").uk-button.dtp-button-default.uk-modal-close Cancel
|
|
.uk-width-auto
|
|
button(type="submit").uk-button.dtp-button-primary Submit Report |