use entity_render_string in titles

This commit is contained in:
2021-10-11 14:52:51 +02:00
parent 2db9a98bfe
commit b5394a3de2
2 changed files with 3 additions and 4 deletions

View File

@@ -23,8 +23,7 @@ This view should receive those arguments:
- person
#}
{% block title %}{{ 'Person details'|trans|capitalize ~ ' ' ~ person.firstName|capitalize ~
' ' ~ person.lastName }}{% endblock %}
{% block title %}{{ 'Person details'|trans|capitalize ~ ' ' ~ person|chill_entity_render_string }}{% endblock %}
{#
we define variables to include an edit form repeated multiple time across
the page