The title before said "Create a CELTS-Sponsored Event" because it was pulling the title by the programName in the createEvent.html and we saw that the All Volunteer Training are under other Celts sponsored event, which is still celts sponsored. We modified the title to be CELTS sponsored only if the programName is Celts Sponsored Event and if the template tag is an empty string. Else if the template tag has 'all volunteer then it will make teh title "All Volunteer Training".
The title before said "Create a CELTS-Sponsored Event" because it was pulling the title by the programName in the createEvent.html and we saw that the All Volunteer Training are under other Celts sponsored event, which is still celts sponsored. We modified the title to be CELTS sponsored only if the programName is Celts Sponsored Event and if the template tag is an empty string. Else if the template tag has 'all volunteer then it will make teh title "All Volunteer Training".
This is the html page for setting title before:
This is after our change: