Skip to content
Snippets Groups Projects
Commit 4192e531 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Improve clarity of MainSearchForm choices

parent 3209b69c
No related branches found
No related tags found
No related merge requests found
......@@ -19,10 +19,15 @@ errorMarker = '<span style="color:red;">'+htmlEntityStar+'</span>'
class MainSearchForm(forms.Form):
QUERY_TYPE_EVENT = 'E'
QUERY_TYPE_SUPEREVENT = 'S'
QUERY_TYPE_CHOICES = (
('E', 'Event'),
('S', 'Superevent'),
(QUERY_TYPE_EVENT, 'Event'),
(QUERY_TYPE_SUPEREVENT, 'Superevent'),
)
FORMAT_CHOICE_STANDARD = 'S'
FORMAT_CHOICE_FLEXIGRID = 'F'
FORMAT_CHOICE_LIGOLW = 'L'
FORMAT_CHOICES = (
('S', 'standard'),
('F', 'flexigrid'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment