Update template code for event rsvp buttons to allow better logic for selecting link types;