template + view add event