Avoid showing GetText metadata when trying to translate empty strings

This commit is contained in:
Bat 2018-09-11 19:34:47 +01:00
parent efb71bc40c
commit abe90706ff

View File

@ -24,7 +24,7 @@
</p> </p>
</div> </div>
{% endmacro post_card %} {% endmacro post_card %}
{% macro input(name, label, errors, form, type="text", props="", optional=false, default='', details='') %} {% macro input(name, label, errors, form, type="text", props="", optional=false, default='', details=' ') %}
<label for="{{ name }}"> <label for="{{ name }}">
{{ label | _ }} {{ label | _ }}
{% if optional %} {% if optional %}