diff options
Diffstat (limited to 'archaeological_context_records')
-rw-r--r-- | archaeological_context_records/forms.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index de44998e6..e776f2ec7 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -150,7 +150,8 @@ class RecordFormGeneral(CustomForm, ManageOldType): parcel = forms.ChoiceField(label=_("Parcel"), choices=[]) archaeological_site = forms.ChoiceField( label=" ", choices=[], required=False, - help_text=_(u"Only the items associated to the operation can be selected.") + help_text=_(u"Only the items associated to the operation can be " + u"selected.") ) label = forms.CharField(label=_(u"ID"), validators=[validators.MaxLengthValidator(200)]) @@ -233,10 +234,6 @@ class RecordFormGeneral(CustomForm, ManageOldType): site_label = IshtarSiteProfile.get_default_site_label() self.fields['archaeological_site'].label = site_label - self.fields['archaeological_site'].help_text = \ - unicode(self.fields['archaeological_site'].help_text).format( - site_label - ) self.fields['archaeological_site'].choices = [('', '--')] if operation: |