Split-off event_create_form into template macro.