Make Translation of Options in select field of web form (#2447)
This commit is contained in:
parent
8f017e3a22
commit
d31aa1f41c
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@
|
|||
{% for option in field.options.split("\n") -%}
|
||||
<option value="{{ option }}"
|
||||
{{ 'selected="selected"' if value(field, _doc)==option else '' }}>
|
||||
{{ option }}</option>
|
||||
{{ _(option) }}</option>
|
||||
{%- endfor %}
|
||||
</select>
|
||||
{{ help(field) }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue