1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/includes/graphql-arguments.html
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

13 lines
546 B
HTML

{% if field.arguments %}
<div class="border rounded-1 mt-3 mb-3 p-3 bg-gray-light f5">
<p><b>{% data ui.products.graphql.reference.arguments %}</b></p>
{% for arg in arguments %}
<div class="border-top mt-2">
<p class="mt-2"><code>{{ arg.name }}</code> (<code><a href="/{{ currentLanguage }}{{ arg.type.href }}">{{ arg.type.name }}</a></code>)</p>
<p>{{ arg.description }}</p>
{% if arg.defaultValue or arg.defaultValue == false %}<p>The default value is <code>{{ arg.defaultValue }}</code>.</p>{% endif %}
</div>
{% endfor %}
</div>
{% endif %}