<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>
<buttonclass="btn btn-primary js-tooltip"title="Make an OPTIONS request on the {{ name }} resource">OPTIONS</button>
</form>
{% endif %}
{% if delete_form %}
<buttonclass="btn btn-danger button-form js-tooltip"title="Make a DELETE request on the {{ name }} resource"data-toggle="modal"data-target="#deleteModal">DELETE</button>