Skip to content

Commit f85ad30

Browse files
committed
Fix regression causing raw data form to not display
1 parent d959c63 commit f85ad30

File tree

1 file changed

+1
-1
lines changed
  • rest_framework/templates/rest_framework

1 file changed

+1
-1
lines changed

rest_framework/templates/rest_framework/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ <h1>{{ name }}</h1>
173173
</div>
174174
{% endif %}
175175

176-
<div {% if raw_data_post_form %}class="tab-pane"{% endif %} id="post-generic-content-form">
176+
<div {% if post_form %}class="tab-pane"{% endif %} id="post-generic-content-form">
177177
{% with form=raw_data_post_form %}
178178
<form action="{{ request.get_full_path }}" method="POST" class="form-horizontal">
179179
<fieldset>

0 commit comments

Comments
 (0)