Skip to content

Commit

Permalink
Make these field labels clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
phycodurus committed Nov 2, 2023
1 parent 94f365a commit b4f45be
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tom_swift/swift.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.'}),
Expand All @@ -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(
Expand Down

0 comments on commit b4f45be

Please sign in to comment.