latte.create_template event