diff options
| author | Tom Christie | 2013-08-29 20:35:59 +0100 |
|---|---|---|
| committer | Tom Christie | 2013-08-29 20:35:59 +0100 |
| commit | 1fa2d823cc9f2dcf301b0e3ce7f47acfcdfcb305 (patch) | |
| tree | 3d9d42444a3bdbc6c59116f355e6bb7f0f699537 /rest_framework/templates | |
| parent | c7f3b8bebef33093d4e949f797565c4cbcd2695d (diff) | |
| download | django-rest-framework-1fa2d823cc9f2dcf301b0e3ce7f47acfcdfcb305.tar.bz2 | |
Preserve tab preference in cookies.
Diffstat (limited to 'rest_framework/templates')
| -rw-r--r-- | rest_framework/templates/rest_framework/base.html | 4 |
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 6ae47563..81697063 100644 --- a/rest_framework/templates/rest_framework/base.html +++ b/rest_framework/templates/rest_framework/base.html @@ -128,8 +128,8 @@ <div {% if post_form %}class="tabbable"{% endif %}> {% if post_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"> |
