diff options
| author | Tom Christie | 2014-10-31 15:19:15 +0000 | 
|---|---|---|
| committer | Tom Christie | 2014-10-31 15:19:15 +0000 | 
| commit | 159c3de9fc25c63e6e0ca1fe6b0cea26ea38a070 (patch) | |
| tree | 31bba829b2e2cad5917607b22cd4bbc4cb80548e /rest_framework/templates | |
| parent | 45b5f23f3142c1b63258c8ad092887538eee5517 (diff) | |
| parent | 4ad4fca6cec66b8f088921404e6896ee0b324a03 (diff) | |
| download | django-rest-framework-159c3de9fc25c63e6e0ca1fe6b0cea26ea38a070.tar.bz2 | |
Merge master
Diffstat (limited to 'rest_framework/templates')
| -rw-r--r-- | rest_framework/templates/rest_framework/base.html | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html index 58e7e86c..e9d99a65 100644 --- a/rest_framework/templates/rest_framework/base.html +++ b/rest_framework/templates/rest_framework/base.html @@ -140,16 +140,16 @@                              {% if post_form %}                                  <ul class="nav nav-tabs form-switcher">                                      <li> -                                        <a name='html-tab' href="#object-form" data-toggle="tab">HTML form</a> +                                        <a name='html-tab' href="#post-object-form" data-toggle="tab">HTML form</a>                                      </li>                                      <li> -                                        <a name='raw-tab' href="#generic-content-form" data-toggle="tab">Raw data</a> +                                        <a name='raw-tab' href="#post-generic-content-form" data-toggle="tab">Raw data</a>                                      </li>                                  </ul>                              {% endif %}                              <div class="well tab-content">                                  {% if post_form %} -                                    <div class="tab-pane" id="object-form"> +                                    <div class="tab-pane" id="post-object-form">                                          {% with form=post_form %}                                              <form action="{{ request.get_full_path }}"                                                    method="POST" enctype="multipart/form-data" class="form-horizontal" novalidate> @@ -164,7 +164,7 @@                                          {% endwith %}                                      </div>                                  {% endif %} -                                <div {% if post_form %}class="tab-pane"{% endif %} id="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> @@ -186,16 +186,16 @@                              {% if put_form %}                                  <ul class="nav nav-tabs form-switcher">                                      <li> -                                        <a name='html-tab' href="#object-form" data-toggle="tab">HTML form</a> +                                        <a name='html-tab' href="#put-object-form" data-toggle="tab">HTML form</a>                                      </li>                                      <li> -                                        <a  name='raw-tab' href="#generic-content-form" data-toggle="tab">Raw data</a> +                                        <a  name='raw-tab' href="#put-generic-content-form" data-toggle="tab">Raw data</a>                                      </li>                                  </ul>                              {% endif %}                              <div class="well tab-content">                                  {% if put_form %} -                                    <div class="tab-pane" id="object-form"> +                                    <div class="tab-pane" id="put-object-form">                                          <form action="{{ request.get_full_path }}"                                                method="POST" enctype="multipart/form-data" class="form-horizontal" novalidate>                                              <fieldset> @@ -209,7 +209,7 @@                                          </form>                                      </div>                                  {% endif %} -                                <div {% if put_form %}class="tab-pane"{% endif %} id="generic-content-form"> +                                <div {% if put_form %}class="tab-pane"{% endif %} id="put-generic-content-form">                                      {% with form=raw_data_put_or_patch_form %}                                          <form action="{{ request.get_full_path }}" method="POST" class="form-horizontal">                                              <fieldset> | 
