Skip to content

Commit

Permalink
Fixed checkboxes translation in email template
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHood committed Jan 9, 2021
1 parent 2c6ff65 commit 2d3ca9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/forms/default/data.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{% set use_keys = field.use is defined and field.use == 'keys' %}
{% for key,value in form.value(scope ~ field.name) %}
{% set index = (use_keys ? key : value) %}
<li>{{ field.options[index]|e }}</li>
<li>{{ field.options[index]|t|e }}</li>
{% endfor %}
</ul>
{% elseif field.type == 'checkbox' %}
Expand Down

0 comments on commit 2d3ca9b

Please sign in to comment.