Update UPGRADE-2.1.md

Change on selectedchoice part, because "choice.value" wont work, but just "value" does.
This commit is contained in:
Moritz Borgmann 2012-11-07 13:13:48 +01:00
parent 224d6b7925
commit 04e93d82d3

View File

@ -560,7 +560,7 @@
{% endfor %}
</optgroup>
{% else %}
<option value="{{ choice.value }}"{% if choice is selectedchoice(choice.value) %} selected="selected"{% endif %}>
<option value="{{ choice.value }}"{% if choice is selectedchoice(value) %} selected="selected"{% endif %}>
{{ label }}
</option>
{% endif %}