Require message when flagging package out of date
This is not a very high bar to meet, and should cut down on at least a few bogus or spam requests. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
3a1101db1d
commit
ef9d1c1ea2
@ -18,9 +18,9 @@ def flaghelp(request):
|
|||||||
return direct_to_template(request, 'packages/flaghelp.html')
|
return direct_to_template(request, 'packages/flaghelp.html')
|
||||||
|
|
||||||
class FlagForm(forms.Form):
|
class FlagForm(forms.Form):
|
||||||
email = forms.EmailField(label='* E-mail Address')
|
email = forms.EmailField(label='E-mail Address')
|
||||||
message = forms.CharField(label='Message To Dev',
|
message = forms.CharField(label='Message To Developer',
|
||||||
widget=forms.Textarea, required=False)
|
widget=forms.Textarea)
|
||||||
# The field below is used to filter out bots that blindly fill out all
|
# The field below is used to filter out bots that blindly fill out all
|
||||||
# input elements
|
# input elements
|
||||||
website = forms.CharField(label='',
|
website = forms.CharField(label='',
|
||||||
|
Loading…
Reference in New Issue
Block a user