Skip to content

Commit 87ade87

Browse files
ababiccarltongibson
authored andcommitted
Added 'request_forms' block to base.html (#6340)
1 parent 9ff0092 commit 87ade87

File tree

1 file changed

+4
-0
lines changed
  • rest_framework/templates/rest_framework

1 file changed

+4
-0
lines changed

rest_framework/templates/rest_framework/base.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676
{% block content %}
7777

7878
<div class="region" aria-label="{% trans "request form" %}">
79+
{% block request_forms %}
80+
7981
{% if 'GET' in allowed_methods %}
8082
<form id="get-form" class="pull-right">
8183
<fieldset>
@@ -148,6 +150,8 @@ <h4 class="text-center">Are you sure you want to delete this {{ name }}?</h4>
148150
{% trans "Filters" %}
149151
</button>
150152
{% endif %}
153+
154+
{% endblock request_forms %}
151155
</div>
152156

153157
<div class="content-main" role="main" aria-label="{% trans "main content" %}">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy