<aclass="btn btn-primary js-tooltip"href='{{ request.get_full_path }}'rel="nofollow"title="Make a GET request on the {{ name }} resource">GET</a>
<aclass="btn btn-primary js-tooltip"href="{{ request.get_full_path }}"rel="nofollow"title="Make a GET request on the {{ name }} resource">GET</a>
<buttonclass="btn btn-primary dropdown-toggle js-tooltip"data-toggle="dropdown"title="Specify a format for the GET request">
<buttonclass="btn btn-primary dropdown-toggle js-tooltip"data-toggle="dropdown"title="Specify a format for the GET request">
<spanclass="caret"></span>
<spanclass="caret"></span>
...
@@ -81,11 +82,14 @@
...
@@ -81,11 +82,14 @@
<ulclass="dropdown-menu">
<ulclass="dropdown-menu">
{% for format in available_formats %}
{% for format in available_formats %}
<li>
<li>
<aclass="js-tooltip format-option"href='{% add_query_param request api_settings.URL_FORMAT_OVERRIDE format %}'rel="nofollow"title="Make a GET request on the {{ name }} resource with the format set to `{{ format }}`">{{ format }}</a>
<aclass="js-tooltip format-option"href="{% add_query_param request api_settings.URL_FORMAT_OVERRIDE format %}"rel="nofollow"title="Make a GET request on the {{ name }} resource with the format set to `{{ format }}`">{{ format }}</a>
</li>
</li>
{% endfor %}
{% endfor %}
</ul>
</ul>
</div>
</div>
{% else %}
<aclass="btn btn-primary js-tooltip"href="{{ request.get_full_path }}"rel="nofollow"title="Make a GET request on the {{ name }} resource">GET</a>