We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5899b00 + f85ad30 commit 4eef2eaCopy full SHA for 4eef2ea
rest_framework/templates/rest_framework/base.html
@@ -173,7 +173,7 @@ <h1>{{ name }}</h1>
173
</div>
174
{% endif %}
175
176
- <div {% if raw_data_post_form %}class="tab-pane"{% endif %} id="post-generic-content-form">
+ <div {% if post_form %}class="tab-pane"{% endif %} id="post-generic-content-form">
177
{% with form=raw_data_post_form %}
178
<form action="{{ request.get_full_path }}" method="POST" class="form-horizontal">
179
<fieldset>
0 commit comments