mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-16 00:09:05 +00:00
Implemented report action
Actions: Close report, Hide torrent, Delete torrent
This commit is contained in:
@@ -282,7 +282,8 @@ class ReportForm(FlaskForm):
|
||||
reason = TextAreaField('Report reason', [
|
||||
Length(min=3, max=255,
|
||||
message='Report reason must be at least %(min)d characters long '
|
||||
'and %(max)d at most.')
|
||||
'and %(max)d at most.'),
|
||||
DataRequired('You must provide a valid report reason.')
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user