Template.editRegistration.helpers({
    // Get the current registration from the URL path
    getRegistration: function () {
        var registrationId = Router.current().params._id;
        return Registrations.findOne(registrationId);
    }
});

Template.editRegistration.rendered = function () {
    setReactiveVars();
};

Template.editRegistration.events({
    'change form': function() {
        setReactiveVars();
    }
});

Edit registration set reactive variables.
Edit registration set reactive variables.
