Skip to content

Commit

Permalink
Merge pull request #58 from TOMToolkit/57-keyerror-in-lt-request-vali…
Browse files Browse the repository at this point in the history
…date

for simplicity use dropdown widget for the photometric ChoiceField
  • Loading branch information
phycodurus authored Oct 15, 2024
2 parents 27cbec3 + a06b8b7 commit 54b0b0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tom_lt/lt.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from astropy import units as u

from crispy_forms.layout import Layout, Div, HTML
from crispy_forms.bootstrap import PrependedAppendedText, PrependedText, InlineRadios
from crispy_forms.bootstrap import PrependedAppendedText, PrependedText

from tom_observations.facility import BaseRoboticObservationForm, BaseRoboticObservationFacility
from tom_targets.models import Target
Expand Down Expand Up @@ -104,7 +104,7 @@ def layout(self):
PrependedText('max_airmass', 'Airmass <'),
PrependedAppendedText('max_seeing', 'Seeing <', 'arcsec'),
PrependedAppendedText('max_skybri', 'Dark + ', 'mag/arcsec\xB2'),
InlineRadios('photometric'),
'photometric',
css_class='col-md-8'
),
css_class='form-row'
Expand Down

0 comments on commit 54b0b0c

Please sign in to comment.