translated twig template to php for button-type