refactor pr form twig