It should be possible to edit the area of a draft even if it's been set before. It can change.

- Legacy-Id: 2761
This commit is contained in:
Henrik Levkowetz 2011-01-27 14:58:55 +00:00
parent 1c961950fb
commit 2ae553aec2

View file

@ -130,9 +130,6 @@ class EditInfoForm(forms.Form):
if kwargs['initial']['area_acronym'] == Acronym.INDIVIDUAL_SUBMITTER:
# default to "gen"
kwargs['initial']['area_acronym'] = 1008
else:
# hide area acronym if one has been assigned already
del self.fields['area_acronym']
# returning item is rendered non-standard
self.standard_fields = [x for x in self.visible_fields() if x.name not in ('returning_item',)]