Commit 98117c8d authored by Okhin's avatar Okhin
Browse files

Fixing the order of the discrimination type into the form

parent d500f28b
......@@ -34,7 +34,7 @@ class AddViolation(forms.Form):
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.'))
contract_excerpt = forms.CharField(required=False, widget=AdvancedEditor(), label=_('Please copy the relevant section describing the discrimination from the user contract. (optional)'))
type = forms.ChoiceField(required=True, choices=tuple(sorted(TYPES,key=itemgetter(1))), label=_('How would you describe the discrimination?'))
type = forms.ChoiceField(required=True, choices=tuple(TYPES), label=_('How would you describe the discrimination?'))
captcha = CaptchaField(label=_("In order to protect against spam, please fill in the result of the following calculation. (note the + and the * are somewhat confusing)"))
class SearchViolation(SearchForm):
......@@ -51,10 +51,10 @@ RESOURCES = (
('zerorating', _('Zero Rating')),
('specialised', _('Specialised Service')),
('blocking', _('Blocking')),
('throttling', _('Throttling')),
('prioritisation', _('Prioritisation')),
('specialised', _('Specialised Service')),
('other', _('Other'))
Supports Markdown
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