<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">
<spanclass="caret"></span>
</button>
<ulclass="dropdown-menu">
{% for format in available_formats %}
<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>
</li>
{% endfor %}
</ul>
</div>
{% if api_settings.URL_FORMAT_OVERRIDE %}
<divclass="btn-group format-selection">
<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">
<spanclass="caret"></span>
</button>
<ulclass="dropdown-menu">
{% for format in available_formats %}
<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>
</li>
{% endfor %}
</ul>
</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>