mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 13:14:30 +03:00
Added 'request_forms' block to base.html (#6340)
This commit is contained in:
parent
9ff0092061
commit
87ade870c3
|
@ -76,6 +76,8 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="region" aria-label="{% trans "request form" %}">
|
<div class="region" aria-label="{% trans "request form" %}">
|
||||||
|
{% block request_forms %}
|
||||||
|
|
||||||
{% if 'GET' in allowed_methods %}
|
{% if 'GET' in allowed_methods %}
|
||||||
<form id="get-form" class="pull-right">
|
<form id="get-form" class="pull-right">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
@ -148,6 +150,8 @@
|
||||||
{% trans "Filters" %}
|
{% trans "Filters" %}
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% endblock request_forms %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content-main" role="main" aria-label="{% trans "main content" %}">
|
<div class="content-main" role="main" aria-label="{% trans "main content" %}">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user