mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Improve rendering of default lists (#56041)
This commit is contained in:
committed by
Alicia Cozine
parent
9c5745ad21
commit
53ed1bfc49
2
docs/templates/plugin.rst.j2
vendored
2
docs/templates/plugin.rst.j2
vendored
@@ -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 #}
|
||||
|
||||
Reference in New Issue
Block a user