mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 13:04:03 +03:00
Fix tab preferences on PUT forms
This commit is contained in:
parent
1fa2d823cc
commit
44f8d1bef2
|
@ -167,8 +167,8 @@
|
||||||
<div {% if put_form %}class="tabbable"{% endif %}>
|
<div {% if put_form %}class="tabbable"{% endif %}>
|
||||||
{% if put_form %}
|
{% if put_form %}
|
||||||
<ul class="nav nav-tabs form-switcher">
|
<ul class="nav nav-tabs form-switcher">
|
||||||
<li><a href="#object-form" data-toggle="tab">HTML form</a></li>
|
<li><a name='html-tab' href="#object-form" data-toggle="tab">HTML form</a></li>
|
||||||
<li><a href="#generic-content-form" data-toggle="tab">Raw data</a></li>
|
<li><a name='raw-tab' href="#generic-content-form" data-toggle="tab">Raw data</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="well tab-content">
|
<div class="well tab-content">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user