Render for title

This commit is contained in:
Marc Ducobu
2014-11-12 12:28:57 +01:00
parent 978f2eea5e
commit 8fa75e2dd6
3 changed files with 23 additions and 3 deletions

View File

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