From b4f45bea91e244787b86f8789547109f021e0632 Mon Sep 17 00:00:00 2001 From: "William (Lindy) Lindstrom" Date: Thu, 2 Nov 2023 18:58:54 +0000 Subject: [PATCH] Make these field labels clearer --- tom_swift/swift.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tom_swift/swift.py b/tom_swift/swift.py index 0780354..27d4748 100644 --- a/tom_swift/swift.py +++ b/tom_swift/swift.py @@ -158,9 +158,12 @@ class SwiftObservationForm(BaseObservationForm): # # Exposure requested time (total) # - exposure = forms.FloatField(required=False, label='Exposure time requested [s]', initial=500) + exposure = forms.FloatField( + required=True, + label='Total exposure time requested [s]') exp_time_just = forms.CharField( - required=False, label='Exposure Time Justification', + required=True, + label='Exposure time justification', widget=forms.Textarea(attrs={ 'rows': 2, 'placeholder': 'Briefly justify the exposure time requested.'}), @@ -178,7 +181,7 @@ class SwiftObservationForm(BaseObservationForm): initial=1) monitoring_freq = forms.IntegerField( required=False, - label='Monitoring Frequency', + label='Monitoring frequency', help_text=('One visit every N monitoring units.'), initial=1) monitoring_units = forms.ChoiceField(