Fix destination helptext in HistoryForm
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 17 Apr 2011 11:26:20 +0000 (11:26 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 17 Apr 2011 11:26:20 +0000 (11:26 +0000)
bin/djais/views.py

index 96b0b0c833f9c5d93e8909a6ca4d9e46ea217279..01e7b748133b79570eb11bcb23251ba8f0b139a4 100644 (file)
@@ -174,7 +174,7 @@ class HistoryForm(forms.Form):
         choices=[ (u'', u'(Not filtered)') ] + [ (fn[1], fn[0]) for fn in list_areas() ] )
     filter_sog_le = forms.FloatField(required=False, label=u'Only if speed ≤ (knots)')
     filter_sog_ge = forms.FloatField(required=False, label=u'Only if speed ≥ (knots)')
-    filter_destination = forms.CharField(required=False, label=u'Only if destination starts with', max_length=20, help=u'Use AIS upper case letters')
+    filter_destination = forms.CharField(required=False, label=u'Only if destination starts with', max_length=20, help_text=u'Use AIS upper case letters')
 
     def clean_start_date(self):
         period_type = self.cleaned_data.get('period_type', None)