Attempting to get data to the template helper variable from a click event