Add trans filter

This commit is contained in:
Mathieu Piot 2018-02-27 11:57:26 +01:00 committed by Mathieu Piot
parent e311838aed
commit 831693ad45
2 changed files with 2 additions and 2 deletions

View File

@ -282,6 +282,6 @@
{% block form_help -%}
{% if help is not empty %}
<small class="form-text text-muted">{{ help }}</small>
<small class="form-text text-muted">{{ help|trans }}</small>
{% endif %}
{%- endblock form_help %}

View File

@ -291,7 +291,7 @@
{% block form_help -%}
{% if help is not empty %}
<p class="form-help">{{ help }}</p>
<p class="form-help">{{ help|trans }}</p>
{% endif %}
{%- endblock form_help %}