templates: separate GET and POST params presentation (#39037)
This commit is contained in:
parent
ef461dcff6
commit
09fbf833e9
|
@ -63,7 +63,6 @@
|
|||
<li class="{{ endpoint.http_method|default:"get" }}-method">{% if endpoint.description %}<span class="description">{{endpoint.description}}{% trans ':' %}</span>{% endif %}
|
||||
<a href="{{endpoint.example_url}}" class="example-url">{{ site_base_uri }}{{endpoint.example_url_as_html}}</a>
|
||||
<span class="method-name">{{endpoint.http_method|upper}}</span>
|
||||
{% if endpoint.get_params %}
|
||||
<ul class="params">
|
||||
{% if endpoint.get_params %}
|
||||
<li>{% trans "Query parameters" %}
|
||||
|
@ -87,7 +86,6 @@
|
|||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if endpoint.long_description %}
|
||||
<div class="long-description">
|
||||
{{ endpoint.long_description }}
|
||||
|
|
Loading…
Reference in New Issue