Commit b92978af authored by Okhin's avatar Okhin
Browse files

Other as first and default option for resource type

parent 83756973
......@@ -29,7 +29,7 @@ class AddViolation(forms.Form):
consent = forms.BooleanField(required=False, label=_("I want to help further"), help_text=_("We need your consent to contact you for clarifications regarding your report. This is optional, but helps us improve the quality of the reports. Thanks!"))
nick = forms.CharField(required=False, label=_("Name or nickname"), help_text=_("We need some name to display that instead of an email address."))
attachments = MultiFileField(required=False, label=_("Attach screenshot, document or any other relevant information."))
resource = forms.ChoiceField(required=False, choices=tuple(sorted(RESOURCES,key=itemgetter(1))), label=_('What is the affected resource type. (optional)'))
resource = forms.ChoiceField(required=False, choices=tuple(RESOURCES), label=_('What is the affected resource type. (optional)'))
temporary = forms.BooleanField(required=False, label=_('Is the discrimination only temporary, e.g. due to network overload? (optional)'))
loophole = forms.BooleanField(required=False, label=_('Is there another offer provided by this Operator which removes this discrimination? (optional)'))
contractual = forms.BooleanField(required=False, label=_('The discrimination is described in the subscribers contract.'))
......
......@@ -36,8 +36,8 @@ COUNTRIES = (
('SE', _('Sweden')),
('UK', _('United Kingdom')),
)
RESOURCES = (
('other', _('other'))
('port', _('port')),
('protocol', _('protocol')),
('service', _('service')),
......@@ -47,7 +47,6 @@ RESOURCES = (
('video', _('video streaming')),
('audio', _('audio streaming')),
('class', _('class of application or contraint')),
('other', _('other'))
)
TYPES = (
('zerorating', _('Zero Rating')),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment