mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-08 23:53:33 +03:00
Fix regression causing raw data form to not display
This commit is contained in:
parent
d959c6337a
commit
f85ad301eb
|
@ -173,7 +173,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<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">
|
||||||
{% with form=raw_data_post_form %}
|
{% with form=raw_data_post_form %}
|
||||||
<form action="{{ request.get_full_path }}" method="POST" class="form-horizontal">
|
<form action="{{ request.get_full_path }}" method="POST" class="form-horizontal">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user