Skip to content

Commit

Permalink
Merge pull request #3600 from nfletton/fix/browser/single-tab-render
Browse files Browse the repository at this point in the history
Fix regression causing raw data form to not display
  • Loading branch information
xordoquy committed Nov 13, 2015
2 parents 5899b00 + f85ad30 commit 4eef2ea
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 4eef2ea

Please sign in to comment.