Adds "accept cookies" bar as a twig function