Using TranslatableStringHelperTwig for displaying CustomFieldTitle

This commit is contained in:
Marc Ducobu 2014-11-17 12:19:32 +01:00
parent 43d863ef88
commit 780002bed5

View File

@ -1,5 +1,5 @@
{% if type == "title"%} {% if type == "title"%}
<h2>{{ title[app.request.locale] }}</h2> <h2>{{ title | localize_translatable_string }}</h2>
{% else %} {% else %}
<h3>{{ title[app.request.locale] }}</h3> <h3>{{ title | localize_translatable_string }}</h3>
{% endif %} {% endif %}