Pass template to event handler; use form