{% extends 'base.html' %}
{% block title %} Аккаунт | вход {% endblock %}

{% block content %}
    <h1 class=deprecated-page-header"> Список методов API </h1>

    {% for method in api_methods %}
        <div>
            <h2>{{ method }}</h2>

            <details>
                <summary>Описание</summary>
                <div>
                    {{ api_methods.method.doc | safe }}
                </div>
            </details>

            <details>
                <summary>Парамеры</summary>
                <div>
                     {% for param in api_methods.method.params %}
                         <div>
                         {{ param }}
                         </div>
                     {% endfor %}
                </div>
            </details>
        </div>
    {% endfor %}

{% endblock %}
