From 230945c322899630bfaec32fe8b6cd62ff5c721d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 22 Feb 2016 17:46:32 +0100 Subject: [PATCH] add macro for person entity rendering easily --- Resources/views/Person/macro.html.twig | 1 + 1 file changed, 1 insertion(+) create mode 100644 Resources/views/Person/macro.html.twig diff --git a/Resources/views/Person/macro.html.twig b/Resources/views/Person/macro.html.twig new file mode 100644 index 000000000..e6773f3ae --- /dev/null +++ b/Resources/views/Person/macro.html.twig @@ -0,0 +1 @@ +{% macro render(p, withLink=false) %}{{ p.firstName }} {{ p.lastName }}{% endmacro %} \ No newline at end of file