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

Bugfix to search field error handling

parent 1fbb65d6
No related branches found
No related tags found
No related merge requests found
......@@ -14,14 +14,6 @@ from pyparsing import ParseException
# Set up logger
logger = logging.getLogger(__name__)
htmlEntityStar = "★"
htmlEntityRightPointingHand = "☞"
htmlEntitySkullAndCrossbones = "☠"
htmlEntityTriangularBuller = "‣"
htmlEntityRightArrow = "→"
errorMarker = '<span style="color:red;">'+htmlEntityStar+'</span>'
class CreateEventForm(forms.Form):
eventFile = forms.FileField()
......
......@@ -10,6 +10,9 @@ from search.query.events import parseQuery
from search.query.labels import filter_for_labels
from events.models import Event
htmlEntityStar = "&#9733;"
errorMarker = '<span style="color:red;">'+htmlEntityStar+'</span>'
# NOTE: this is only used in SimpleSearchForm and should be removed
# when that form is removed.
......
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