Browse Source

Translation of table headers in webforms (#2099)

Added translation for headers in web forms
version-14
paurosello 8 years ago
committed by Rushabh Mehta
parent
commit
92d49ba07c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      frappe/templates/generators/web_form.html

+ 2
- 2
frappe/templates/generators/web_form.html View File

@@ -171,7 +171,7 @@
{% if d!=None %}
{{ render_field(df, d, False) }}
{% else %}
<span class='text-muted small'>{{ df.label }}</span>
<span class='text-muted small'>{{ _(df.label) }}</span>
{% endif %}
</{{ 'th' if d.name==None else 'td' }}>
{% endif %}
@@ -624,4 +624,4 @@ input, select {

{% if style is defined %}{{ style }}{% endif %}
</style>
{% endblock %}
{% endblock %}

Loading…
Cancel
Save