<aclass="btn btn-primary js-tooltip"href='{{ request.get_full_path }}'rel="nofollow"title="Do a GET request on the {{ name }} resource">GET</a>
{% with FORMAT_PARAM|add:"="|add:format as param %}
{% for format in available_formats %}
[<ahref='{{ request.get_full_path|add_query_param:param }}'rel="nofollow">{{ format }}</a>]
{% with FORMAT_PARAM|add:"="|add:format as param %}
{% endwith %}
<aclass="btn js-tooltip"href='{{ request.get_full_path|add_query_param:param }}'rel="nofollow"title="Do a GET request on the {{ name }} resource with the format set to `{{ format }}`">{{ format }}</a>