Adding csv_cell twig filter

This commit is contained in:
Marc Ducobu 2015-02-18 16:26:12 +01:00
parent abf9ebfc8a
commit 6791041c28

View File

@ -17,9 +17,9 @@
{% for person in persons %}{# {% for person in persons %}{#
#}{{ person.id }},{# #}{{ person.id }},{#
#}"{{ person.firstName }}",{# #}"{{ person.firstName|csv_cell }}",{#
#}"{{ person.lastName }}",{# #}"{{ person.lastName|csv_cell }}",{#
#}"{{ person.genre }}",{# #}"{{ person.genre|csv_cell }}",{#
#}"{{ person.dateOfBirth|localizeddate('short', 'none') }}",{# #}"{{ person.dateOfBirth|localizeddate('short', 'none') }}",{#
#}"{# countryOfBirth #}"{# countryOfBirth
#}{% if person.countryOfBirth is not null %}{# #}{% if person.countryOfBirth is not null %}{#