renamed ClearMessage to better name of ClearStatus, and exposed it to jinja2 so status messages now work in base.html

This commit is contained in:
2021-01-10 12:18:28 +11:00
parent 0f1cae267d
commit e4ed563245
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class Status:
self.message=self.message+msg
return
def ClearMessage(self):
def ClearStatus(self):
self.alert="success"
self.message=""
return ""