{% load i18n %} {% load staticfiles %} {% load mini_buildd_tags %}
{#
{% csrf_token %} # if we would support post... #} {% if auth_err %}{% else %}{% endif %} {# Pre-button args #} {% for arg in api_cmd.args.values %} {% if arg.raw_value is None %} {# Mandatory input #} {% include "includes/mbd_api_arg.html" %} {% endif %} {% endfor %} {# Submit button #}
{% if show_doc %}
{{ api_cmd.docstring }}
{% endif %} {# Optional parameters, presented on demand only #} {% for arg in api_cmd.args.values %} {% if arg.raw_value is not None %} {% endif %} {% endfor %}
{{ arg.identity }} {% include "includes/mbd_api_arg.html" %}

output