aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
diff options
context:
space:
mode:
authorTom Christie2013-08-29 20:38:55 +0100
committerTom Christie2013-08-29 20:38:55 +0100
commit44f8d1bef22d5f308fdbdfc29e6418816c3c27dd (patch)
tree0a274fcef49cce0dc2de0a7ddf7ef22e4cc6393d /rest_framework/templates
parent1fa2d823cc9f2dcf301b0e3ce7f47acfcdfcb305 (diff)
downloaddjango-rest-framework-44f8d1bef22d5f308fdbdfc29e6418816c3c27dd.tar.bz2
Fix tab preferences on PUT forms
Diffstat (limited to 'rest_framework/templates')
-rw-r--r--rest_framework/templates/rest_framework/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html
index 81697063..aa90e90c 100644
--- a/rest_framework/templates/rest_framework/base.html
+++ b/rest_framework/templates/rest_framework/base.html
@@ -167,8 +167,8 @@
<div {% if put_form %}class="tabbable"{% endif %}>
{% if put_form %}
<ul class="nav nav-tabs form-switcher">
- <li><a 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='html-tab' href="#object-form" data-toggle="tab">HTML form</a></li>
+ <li><a name='raw-tab' href="#generic-content-form" data-toggle="tab">Raw data</a></li>
</ul>
{% endif %}
<div class="well tab-content">