Hello,
I am working with the Event Calendar module. Inside my DOM I've added an enum called AgeGroup which allows the user to select three options - Kids Only, Families, Adults Only
Based on the value the user selects, I want to display a different message. So for example, if the user selects "Kids Only" I want to display the message in the template - "Kids, leave your parents at home"
I've tried doing this:
<% if AgeGroup == "Kids Only" %>Kids, leave your parents at home<% end_if %>
and get this error
Parse error: syntax error, unexpected '}'
Can anyone help me correct my syntax?