Improve rendering of default lists (#56041)

This commit is contained in:
Lindsay Hill 2019-05-07 08:35:36 -07:00 committed by Alicia Cozine
parent 9c5745ad21
commit 53ed1bfc49

View file

@ -155,7 +155,7 @@ Parameters
{% endif %}
{# Show default value, when multiple choice or no choices #}
{% if value.default is defined and value.default not in value.choices %}
<b>Default:</b><br/><div style="color: blue">@{ value.default | escape }@</div>
<b>Default:</b><br/><div style="color: blue">@{ value.default | tojson | escape }@</div>
{% endif %}
</td>
{# configuration #}