mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
rst output template tweak for 'required'
This commit is contained in:
parent
e756ee3741
commit
f5e0fbf65b
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
||||||
{% for (k,v) in options.iteritems() %}
|
{% for (k,v) in options.iteritems() %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>@{ k }@</td>
|
<td>@{ k }@</td>
|
||||||
<td>@{ v.get('required',False) }@</td>
|
<td>{% if v.get('required', False) %}yes{% else %}no{% endif %}</td>
|
||||||
<td>{% if v['default'] %}@{ v['default'] }@{% endif %}</td>
|
<td>{% if v['default'] %}@{ v['default'] }@{% endif %}</td>
|
||||||
<td><ul>{% for choice in v.get('choices',[]) -%}<li>@{ choice }@</li>{% endfor -%}</ul></td>
|
<td><ul>{% for choice in v.get('choices',[]) -%}<li>@{ choice }@</li>{% endfor -%}</ul></td>
|
||||||
<td>{% for desc in v.description -%}@{ desc | html_ify }@{% endfor -%}</td>
|
<td>{% for desc in v.description -%}@{ desc | html_ify }@{% endfor -%}</td>
|
||||||
|
|
Loading…
Reference in a new issue