Skip to content

Commit

Permalink
Fix regression causing raw data form to not display
Browse files Browse the repository at this point in the history
  • Loading branch information
nfletton committed Nov 4, 2015
1 parent d959c63 commit f85ad30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/templates/rest_framework/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ <h1>{{ name }}</h1>
</div>
{% 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 %}
<form action="{{ request.get_full_path }}" method="POST" class="form-horizontal">
<fieldset>
Expand Down

0 comments on commit f85ad30

Please sign in to comment.