diff --git a/opentech/apply/funds/forms.py b/opentech/apply/funds/forms.py index 6465a06e9483548d0d4db849080945edf3dad575..f4f0e2f78cddf1a469ee6e6397f2f5e7f2cf3a96 100644 --- a/opentech/apply/funds/forms.py +++ b/opentech/apply/funds/forms.py @@ -108,6 +108,10 @@ class UpdateReviewersForm(forms.ModelForm): # Pre-populate form field self.fields[field_name].initial = assigned_roles.get(role) + # Move the non-role reviewers field to the end of the field list + if self.fields.get('reviewer_reviewers'): + self.fields.move_to_end('reviewer_reviewers') + def prepare_field(self, field_name, initial, excluded): field = self.fields[field_name] field.queryset = field.queryset.exclude(id__in=excluded)