<aclass="btn btn-info js-tooltip"href='{{ request.get_full_path }}'rel="nofollow"title="Do a GET request on the {{ name }} resource">GET</a>
<buttonclass="btn btn-info 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 %}
{% with FORMAT_PARAM|add:"="|add:format as param %}
<li>
<aclass="js-tooltip format-option"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>
<aclass="btn btn-primary js-tooltip"href='{{ request.get_full_path }}'rel="nofollow"title="Do a GET request on the {{ name }} resource">GET</a>
{% for format in available_formats %}
{% with FORMAT_PARAM|add:"="|add:format as param %}
<aclass="btn js-tooltip format-option"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>
{% endwith %}
{% endfor %}
</div>
</fieldset>
</form>
{% endif %}
{% comment %}
{# These are disabled since the forms don't work with 2.0.0 yet #}